Different Link behaviour after node rotated
@JP wrote: Hi, In this sample, http://gojs.net/latest/samples/draggableLink.html. A link drawn from right side of node before rotating: A link drawn after the node rotated: After node rotated, link...
View ArticleCould I use one nodeTemplate for all different node types?
@Kevin68 wrote: In one diagram, except the 6 normal nodes, there should be 2 zones and 2 annotations of the zones. I have already created 6 nodes by one myDiagram.nodeTemplate, but I'm confused that...
View ArticleCan one node be resized without maximum width?
@Kevin68 wrote: In the example "https://gojs.net/latest/samples/processFlow.html", I try to resize and expand the node , but there's a maximum width limitation for that. pleast let me know how to...
View ArticleConfiguring tree layout
@anvlkv wrote: Hi! I'm using TreeLayout to display GraphLinks model. The minimal configuration I'm trying to use looks like this:$(go.TreeLayout, { treeStyle: go.TreeLayout.StyleLastParents,...
View ArticleBrowser is Hanging While Loading Big Diagrams?
@chinna wrote: Hi, while Loading Big Diagrams the browser will be automatically hanging. i am not using any local cache in browser.is there any way to solve this issue? Posts: 2 Participants: 2 Read...
View ArticleCustomize arrowhead direction?
@david0 wrote: Hi, we have overridden Link.prototype.makeGeometry in order to make custom paths for links. That works well enough, but arrowhead orientation is a bit askew. It appears arrowheads are...
View ArticleLinks in Group with same key members
@Gowrishankar wrote: Hi Geeks,In my case i have two groups called group1 and group2, each group has two members oneA, oneB so i want to link in group1 (oneA -> oneB) same like in group2 (oneA ->...
View ArticleDiv already has a diagram associated with it
@utpal wrote: Hi, I am dynamically building the content of a div using a function . First time it is loading ok but second time it is giving the common error 'div already has a diagram associated with...
View ArticleHow to prevent node to connected with other node in same group
@pratap wrote: I am having some nodes in a group node. And i do not want to link nodes within same group.how i can achieve this? Anyone having information about this can help me to get out of this...
View ArticleFirst attempt to expand group fails
@nvcc wrote: Here is the video I've done for better explanation:https://www.screencast.com/t/OMjvgFfpgv As you can see, after the first click on the expander button, block does not expand, Instead of...
View ArticleHow to set "PanelExpanderButton" collapsed initially?
@Michelle wrote: Hi, I am trying to use GoJS in hackathon. It's really helpful! But I am wondering how I can set "panelExpanderButton" part collapsed initially. All samples I have seen are expanded...
View ArticleHow to cancel the link when it is not connected between two ports?
@Michelle wrote: Hi, I noticed that the sample Flow Chart http://gojs.net/beta/samples/flowchart.html has a great feature: when the link is not connected between two ports, the link will be deleted...
View ArticleHow to detect a specific graph object in a diagram?
@Michelle wrote: I am wondering if GoJS has a similar function like "getElementbyID" to get a specific graph object in a diagram? Or are there any other ways to detect if a specific graph object has...
View ArticleCustom shape for group using PolygonDrawing sample
@JP wrote: Hi, Using PolylineDrawingTool sample http://gojs.net/latest/extensions/PolygonDrawing.html, I am trying to create group's in different shape. I am facing some issue of assigning the group...
View ArticleJSON serialization of Date objects
@Dominic.Lerbs wrote: Hi, I have a question about the JSON serialization of JavaScript Date objects: saving a Date object in the nodeDataArray and serializing it to JSON will persist the date as an...
View ArticleHow to Add layers based on a tree Click and keep existing Nodes on previous...
@RakeshHarsha wrote: Hi Walter,Below is my requirement,1) I have tree structure, based on click on the tree element, i need to create a new Layer(if there is no layer existing with the same name). And...
View ArticleHow to set Diagram.div = null property to unassosiate html DOM for div element?
@seenu wrote: Hi, Below, script i am generating tree node template dynamically. First time tree node template loading perfectly but when i generate next time am getting "Invalid div ID, div already...
View ArticleCreating graph with timeline in javascript
@TheCodeCleaner wrote: I would like to create dynamically changing graph with timeline in javascript, That would look something like this and I would like to decide by myself which node should be in...
View ArticleHighlight nodes allowed for linking
@Dominic.Lerbs wrote: Hi, I would like to highlight all nodes which can be linked to a specific node. The highlighting should apply when the user starts to create the link (i.e by clicking on the port...
View ArticleHow to use obj in linkTemplate in contextMenu in TextBlock
@pratap wrote: for problem bold/commented text in below code GoJs(go.Link, { routing: go.Link.AvoidsNodes, curve: go.Link.JumpOver, corner: 5, toShortLength: 4 }, GoJs(go.Shape, { isPanelMain: true,...
View Article