Resize only expanded group
@Vadim wrote: Hi, I need to resize group of nodes, but only if the group is expanded. When I set resizable to true, I can resize the group expanded or packed. But when I resize expanded group and then...
View ArticleGoJS Version 2.0.14
@simon wrote: Changes for 2.0.14 Added DraggingOptions.groupsAlwaysMove, which determines whether Groups move their member parts even if those members have. Part.movable and Part.copyable set to...
View ArticleHow to show SVG in items in Palette
@Abhishek wrote: Hi @walter i need some thing same, Need to show svg in Palette and drop to diagram. how can i achieve it? Posts: 2 Participants: 2 Read full topic
View ArticlePrevent node exceeding group's boundaries
@neomib wrote: I have a map that looks like this: map.png730×445 281 KB As you can see the nodes exceed their group’s boundaries. How can I prevent that? Here is my code: this.diagram.nodeTemplate =...
View ArticleWhen we collapse a group getting error
@colby wrote: Before collapse image.png466×514 22.3 KB After collapse image.png684×545 10.2 KB Also getting error image.png837×376 6.59 KB Posts: 7 Participants: 2 Read full topic
View ArticleLink overlapping when data set is huge
@akashjan4 wrote: Annotation 2019-07-11 175031.jpg722×550 49.7 KB Annotation 2019-07-11 175613.png691×382 24.4 KB Hi, I have multiple links coming and going out of each node, this is rendered...
View ArticleDouble tree add link
@zekelynch wrote: Hi! We used double-tree in our project to layout the nodes, which is great and satisfied out needs! However, after we expand our initial tree, we want to add multiple links by...
View ArticlePalette behaviour (moves or expands)
@AmoghRaghuram wrote: When we drag an item from the palette and hold it within the bounds of the palette near the edges, the palette seems to move/expand. How can we stop this from happening? We have...
View ArticleAdding Common link and button to each node
@Bharamani wrote: Hi Friends, I am new to GoJs and exploring possibilities. Is it possible to add common link or button to each node in graph? lets say i have graph of 5 nodes and i want to link ->...
View ArticleProblem with links "toshape"
@no_one345 wrote: i m working on a diagram the problem is the link’s line is not ending at the start of the "to shape Screenshot from 2019-07-13 21-34-36.png973×520 15.8 KB " Posts: 1 Participants: 1...
View ArticleTree mapper group positioning
@no_one345 wrote: i m using tree mapper as base diagram the problem is i dont have fixed size of group so in order to maintain distance between nodes i m using grid layout with node spacing. the...
View ArticleWhen the instrument Gauge is scaled proportionally, it expands when zoomed to...
@fecn wrote: I modified this example: An Instrument Gauge And I only added the following code // proportionally resizing the node myDiagram = $(go.Diagram, "myDiagramDiv", {...
View ArticleHow to identify if a cycle connection exist
@ram4unetcore wrote: Hi, I want to identify the cycle connection among the nodes while drawing links. I want to pass a custom data to that link because of which cycle is identified. Is this possible??...
View ArticleHow to Start Linking via LinkingTool Correctly?
@zhi wrote: When I tried the following code stated in docs: var tool = myDiagram.toolManager.linkingTool; tool.startObject = ...; myDiagram.currentTool = tool; tool.doActivate(); It’s correct to start...
View ArticleContext menu on left mouse click
@AmoghRaghuram wrote: We are trying to implement a context menu on the node. We would like to show the context menu on left click of the hamburger image on the node. How can we achieve that? Posts: 1...
View ArticleGoJS - Genogram - Add padding around node in diagram
@nghiadoanlucid wrote: How can I create padding around node with link in diagram (as picture below) ? Test_Edited.png1205×838 76.3 KB I’ve created the invisible circle around node but It not the way I...
View ArticleCan we change the color of the adornment on the selected object?
@AmoghRaghuram wrote: We would want to show a different color on the selected part other than the default dodgerblue color. We would like to do this for any and all selections in the application. Can...
View ArticleQuick question about addEventListener
@zekelynch wrote: Hi everyone! I try to do something with the diagram while the ESC key is pressing. However, the addEventListener("keydown",...) function was able to catch the alphabets but not the...
View ArticleGenogram - Can we allow user dragging the whole diagram when they hold spacebar?
@nghiadoanlucid wrote: Genogram. How can I allow user dragging the whole diagram with holding spacebar even when they are clicking on a diagram node? I just want allow user dragging diagram easier...
View ArticleText Color on Node
@Bharamani wrote: Hi All, How to change text color on node? (go.Shape, "RoundedRectangle", {height: 'auto', width: 200, strokeWidth: 0, fill: "Blue"}), (go.TextBlock, " Create ", { margin: 1 }) Node...
View Article