Port as the link endpoint
@Tany wrote: Hi,I use ports as link endpoints but the link does not end right at the port but beneath the ports.See attached pic . 20180618_175832.jpg2525x309 294 KB How can force the link to end...
View ArticleTesting GoJS with Enzyme
@jc78 wrote: I've built a React wrapper around my GoJS Diagram and I'm trying to write some tests using the enzyme framework. I'm continually running into an issue where the test is failing because it...
View ArticleHow to use functions like findNodeForKey, findTreeChildrenNodes etc. in...
@phreq wrote: I made a Virtualized tree like from this sample: https://gojs.net/latest/samples/virtualizedTreeLayout.html I made the Virtualized tree as: myWholeModel = $(go.TreeModel);...
View ArticleGuidesDragging and SelectionObject
@BFENico wrote: Hi.i try to use the guidesDragging tool.https://gojs.net/latest/extensions/GuidedDragging.html It works fine. But i don't want to use the actualBound of the parts, but of the...
View ArticleHow to listen for key events on the keyboard
@forrest wrote: Hi guys How do I monitor the key events on the keyboard, for example, I want to hear the delete event. When I press the delete key, I want to do some processing, and I want to prohibit...
View ArticleAngle between two nodes connected through link
@veeresh1 wrote: Hii want to know the angle between two nodes as shown in dig..situation: 1) I have 2 nodes connected through a link2) how to know the angle between them3) Can i make connections with...
View ArticleHow to check if the attribute binding to exists or is undefined
@no_one345 wrote: How to check if the attribute binding to exists or is undefined Screenshot from 2018-06-20 14-09-33.png889x494 41.9 KB in line 284 i wan to check if the "card" even exists in the...
View ArticleLink Layer ends with different layers
@Tany wrote: Hi,I maintain the link layer with the linkLayer attribute.As soon as a group is collapsed i "send" all links to "Background".When a group is expanded i "sends" the link "Foreground",Yet...
View ArticleDynamically remove layout types to default
@opkeydev wrote: hi,i just want to remove mydiagram layout from LayeredDigraphLayout to (default) or remove this layout and set it to flowchart viewlike this ->...
View ArticleHow to animate new node creation?
@SergeyP wrote: Hi, I'm working on a diagram with nodes containing SVG images. How can I animate the new node creation to make smooth transition from 0 size to sizes defined in relevant binding?...
View ArticleDrag selected nodes or Parts only if link exists
@veeresh1 wrote: When we use Ctrl and select nodes later if we drag the parts will be draggable even if there is no connection exists...I want the parts to be selected and draggable only if there...
View ArticleEditable node/link text Issue
@opkeydev wrote: on editing a node or link lable on mydiagram the old text get visible on background of node / link is it possible to set the height of text-area dynamically on node edit or is there...
View ArticleDelete link with doubleClick
@veeresh1 wrote: i want to delete existing link with double click how to achieve it?and when i select a particular link can i able to get from and to nodes that link is connected to...? Posts: 5...
View ArticleNode Self loop getting destroyed
@opkeydev wrote: hi,for creating graph like flowchart i am not using any layout in mydiagram when i create a node and selfloop it. It looks like this once i set the layout dynamically using this code...
View ArticleGo js ask me is that really your intent
@no_one345 wrote: i m trying to add some properties on link drawn event by model.set () but it gives me a message in console "is that really your intent" as shown in figure y is it doing that instead...
View ArticleLink overlapping issue
@YogeshMohan wrote: hi,i am facing link overlapping issue when i create a graph structure look like this image.png935x462 12.6 KB Posts: 6 Participants: 2 Read full topic
View ArticleLinks position changed after expand and collapse
@opkeydev wrote: GoJs version : GoJS v1.8.17Group Layout : go.TreeLayout Please see below image Same question i asked before forum.nwoods.com Links getting distorted Why have you set Layout.isOngoing...
View ArticleLinks dislocate
@opkeydev wrote: $scope.LoadDataInFlowChart = function () { debugger; var diagramData = { "class": "go.GraphLinksModel", "linkFromPortIdProperty": "fromPort", "linkToPortIdProperty": "toPort",...
View ArticleOnly one link connection between two nodes
@veeresh1 wrote: hi......Assuming i have two nodes Alpha & Beta.....Only one link connection to be happenEither from Alpha to Beta or beta to alpha..how i can do it?? Posts: 4 Participants: 2 Read...
View ArticleLocked links should not be draggable
@ABC wrote: If i have 3 nodes A,B,Cand if link between a and b is locked then if i drag A, B also should be dragged simultaneously..but not C even link existsif A,B,C are locked and if drag any one...
View Article