Maintain existing graph shape when appending items
@sclements wrote: This is primarily a question regarding the Force Directed layout, but I think it relates to all layouts. I allow the user to build up a graph by adding new items to existing items (a...
View ArticleGojs.net -> samples -> DOM Tree : Update Graph after new elements are insert
@d22935 wrote: Hi I use this example to visualize my HTML DOM Tree: https://gojs.net/latest/samples/DOMTree.html I dynamically insert new elements with JQuery and I need a way to update the DOM Tree...
View ArticleGojs.net ->samples -> DOMTree only display certain elements / change root
@d22935 wrote: Hi, I use the https://gojs.net/latest/samples/DOMTree.html to visualize my DOM tree and I have a few questions: How can I only display certain elements like : only tags and only with a...
View ArticleGet shape object from context menu
@KMEN wrote: s.png1899x853 91.3 KB I added this context men in my nodeTemplate definition, i want to know how i can get the shape object in this case ? Posts: 10 Participants: 2 Read full topic
View ArticleGoJS - GraphLinksModel Can't Sort Root Nodes At Top of Diagram
@LDLKM wrote: Here is my page code, when you show this in a browser you will notice that are a number of root nodes, nodes without parents, but I cannot get them to sort and align at the top of the...
View ArticleNested Swimlanes
@JJR wrote: Hello, I was wondering if your swim lanes example can be modified to have nested horizontal and vertical pools/lanes? I tried to play with your example but as soon as i nest a pool within...
View ArticleHow to create two tree in same div(myDiagram)?
@will wrote: hi,i am a complete beginner about gojs.i need to show two trees in one div,one is in the left side,the other is in right side.like the picture,one tree i know how to create.how to create...
View ArticleClick Event On Entire Node
@LDLKM wrote: I am trying to capture the click event on a Node, regardless of where the user clicks on the node. But it seems to be very inconsistent. Here is my node template: myDiagram.nodeTemplate...
View ArticleSpurious Modified Diagram Event?
@ewoudenberg wrote: After loading the model from JSON, we potentially upgrade any legacy information in the nodes before assigning the model to the diagram. All this works fine. The issue is that I...
View ArticleRelinking tool does not respect temporaryLink.routing property
@ewoudenberg wrote: I have a diagram with this LinkTemplate: routing: go.Link.AvoidsNodes, curve: go.Link.JumpGap, My temporary link is customized thus: // Style the temporary links shown when...
View ArticleAdding HTML Fields on click
@Ekata_R wrote: hi, in example http://gojs.net/latest/samples/records.html can we display html fields on click of field1,field2. Example:on click of field1 show a dropdown. Posts: 2 Participants: 2...
View ArticleDragging a textblock into the diagram
@uriel wrote: Hello,I need to drag a textblocl from a node into the diagram empty space.as a result I want to create a new node that is connected to the first one, Is this possible? Posts: 5...
View ArticleIncrease the height of the diagram
@sangeetaarora21 wrote: Hi, I am creating different diagrams, some by using TreeLayout and some by using simple Group Layout. Now, as the data increases the scroll bar appears in the diagram. So, I...
View ArticleHow to reconnect links in an existing file given a new NodeTemplate in the code
@ewoudenberg wrote: During the course of UI development I sometimes tweak the size of nodes in the NodeTemplate initialization code only to find that when loading an old file the links no longer line...
View ArticleHow to move the whole graph to new position
@will wrote: when i finish the diagrams ,i want to move it to new position,like right of the pic,i want to put some text above the diagrams how should i do it? aaa.png1252x387 997 Bytes Posts: 3...
View ArticleHow to make the line straight?
@will wrote: here are two question:i mark on the pic.1.how to make the line straight?2.how to put the line dot in the middle.i hope you can know what i wrote. <script type="text/javascript"...
View ArticleLinking nodes in a LayeredDigraphLayout
@chiyu wrote: Hi, I am making attempt to modify the Genogram example (based on LayeredDigraph) to support drawing lines between nodes to represent consanguineous relationship. I had enabled the link...
View ArticleError thrown in doMouseUp
@Doogal wrote: Hi We are getting quite a few automated reports of an error being thrown in GoJS (1.6.11). I've not been able to reproduce it but wondered if you'd seen anything similar that may give...
View ArticleHow can I set the linkingTool's Temporarylink Arrowhead color?
@ewoudenberg wrote: myDiagram.toolManager.linkingTool.temporaryLink.path.stroke = 'white'; works nicely to set the link color, but the arrowhead is still blue. How can I change the color of the...
View ArticleQuestion for Record Mapper
@jeremy wrote: What if we want to set a button to enable to show and hide the content? Posts: 7 Participants: 2 Read full topic
View Article