How to let "isHighlighted" event bind the data from nodeDataArray?
@Kevin68 wrote: I am new to goJs. I've got one simple question: the original code is: new go.Binding("fill", "nodeColor"). It works fine. But if I change it to "new go.Binding("fill", "isHighlighted",...
View ArticleCounting the number of outgoing links on one side of a shape
@jsobell wrote: Hi,I've got a nice working chart based on the http://gojs.net/latest/samples/adornmentButtons.html demonstration, but of course as the number of outgoing links increases they...
View ArticleNode Link Text - Tooltip
@maligan wrote: Hi , how can i set tool tip on node link text (tooltip on node is working fine) Sample code : > { > toolTip: > goJ(go.Adornment, "Spot", > { background: "transparent" },...
View ArticleDrag Drop Swimlanes From Html Canvas - Keys Not Auto Updating
@matthew.holmes wrote: Hello, I am trying to manually add swimlane groups, as per the example from a custom HTML toolbox. The way I am doing this is associating data to a toolbox item and manually...
View ArticleHow to know the control key is pressed or not in the linkdrawn event
@chary wrote: Hi I want to know whether the control key is pressed or not in the linkdrawn diagram event. Please provide a sample code Posts: 2 Participants: 2 Read full topic
View ArticleStrange exception message showing a property name only
@lise wrote: Hello Walter I have a NodeData class with a property called Icon, and a property called Status. The icon has a private setter and a public getter and is automatically set when the...
View ArticleRemove Shapes from a Part
@marty1 wrote: My question is that I have drawn my nodeTemplate with some nodes Now on the top of that I am adding a part for example : $scope.myDiagram.add($scope.gj(go.Part, {layerName: "lines",...
View ArticleOdd line in GenogramLayout Sample with specific data
@Pete wrote: Like several others I have been extending the Genogram sample for our project here. I was working with multiple partners and consanguineous relationships, when I noticed some strange...
View ArticlehoverButtons
@jeremy wrote: I think i previously found the 'hoverButton' page, but i can't find it now... anyone could help? Many thanks! Best,Jeremy Posts: 2 Participants: 2 Read full topic
View ArticlePersisted link points don't restore when reloaded
@jsobell wrote: OK, struggled for a day with this now...I'm serializing and deserializing the points for a bezier curve link. It is editable, and when it persists, the data is stored fine, and the...
View ArticleTwo elements sharing a single port
@abhijith wrote: I want to implement a diagram where a single port shall be accessible to two or more elements. This is useful for rendering a diagram where a network element like a router can reside...
View ArticleLink between ports of same element
@abhijith wrote: I am trying to design a network diagram containing various network components using GoJS. Can we display links between ports of the same element?Also, I want the end user to be able...
View ArticleRotate a Group doesn't Rotate the childs
@AndyP wrote: Hi,I have some Nodes grouped. Now I enabled Rotatable for the NodeTemplates and the GroupTemplate, but when I rotate the Group, containing some nodes, the node don't rotate. Is it the...
View ArticleCreating like below table layout is possible with colspan or rowSpan Property?
@gunnu wrote: I`m trying to find a way to creating table layout as shown on the image can you guide how to do this with $(go.Panel, "Table",? Posts: 2 Participants: 2 Read full topic
View ArticleGoJS version 1.6.19
@walter wrote: Changes for 1.6.19 Shapes with a custom Geometry no longer lose their custom geometry when GraphObject.desiredSize is set to NaN. Shapes also rebuild custom geometries more accurately...
View ArticleGoJS version 1.6.20
@walter wrote: Changes for 1.6.20 Fixed a measuring issue with GraphObject.desiredSize when the old size matches the new size. Fixed an animation issue with Group subgraph collapsing, when the member...
View ArticleChanging locationSpot shifts the node
@calebat wrote: Hi- We have an option for the user to change the locationspot so that he or she can change the snap point on a node. Our problem is that when this is changed, the node shifts so that...
View ArticleNew Bezier curves issue with no fromSpot/toSpot
@jsobell wrote: If you take the selectionAdornment sample, remove the fromSpot/toSpot and use Bezier curves for the links, the initial two curvature pivot points on the Bezier curve are sometimes set...
View ArticlemakeImage does not render images in nodes
@abhijith wrote: I am trying to export the canvas to a png image.From the docs , I found out we have to use makeImage() function.It is not rendering the images present in the nodes of the diagram....
View ArticleNode will be disappear after change diagram control parent
@RobFeng wrote: Hi, I have a case to move a diagram to a new window, and move back after close the window. (Keep the instance) And there a problem that the node will disappear after move back.The...
View Article