How to bound the nodes that don't overlap the diagram or another node?
@rauf wrote: bounds.png1366x768 73.4 KB I do not know what function or atribut is used to limit node. would you give me a few sample? thanks Posts: 10 Participants: 2 Read full topic
View ArticleDiagram within Diagram
@esimmons wrote: Is it possible to embedded a GoJS diagram within a GoJS diagram. And if so, can we interact with each diagram independently. For example, zoom in one diagram independent of the other...
View ArticleLink routing on reload vs. during editing
@ewoudenberg wrote: Dear Support: We don’t store link routes in our persisted files (to reduce source control merging issues), so they’re all computed when the diagram is loaded. However, we’d like it...
View ArticleIs possible binding toArrow in Shape?
@alice wrote: I look forward to receiving your feedback. Is possible binding "toArrow" in Shape?or Any ideas for change toArrow in Shape? before $(go.Shape, { toArrow: 'Standard', fromArrow: '',...
View ArticleHow to define linkTemplateMap inside a directive in AngularJS?
@vikash.bhattar wrote: linkTemplate: $(go.Link, { layerName: "Foreground", fromEndSegmentLength: 15, toEndSegmentLength: 15 }, { fromSpot: go.Spot.Right, toSpot: go.Spot.Left }, { resegmentable: true,...
View ArticleHow to make a link straight?
@Santanu044 wrote: My link routing is AvoidsNodes. I want the link will be straight line after i drag the mouse from any port and drag it forward direction.when i will drag my mouse pointer any other...
View ArticleDropping a node on Link
@manishmishra121 wrote: Hi, we have been using GoJS for last 3 years. I've a diagram with nodes and links. I also have a palette full of nodes. All I want is, If I drag and drop any node from the...
View ArticleHow to parse a diagram
@MhdBanat wrote: I'm trying to parse a diagram that based on OR/AND gates.so, when nodes connected to AND gate they will be serial in the path. But if the gate is OR this means different parallel...
View ArticleHow to copy/paste between different layers
@chzh.austin wrote: I would like to select a node on layer A . Then I switch to aother layer B by mark B as visible and A as invisible. Then do a paste through "ctrl + v" to invoke build-in paste...
View ArticleHow to use goxam custom partmanager in gojs
@JP wrote: Hi, How to use goxam base.set_PartManager(new CustomPartManager()); in gojs Posts: 2 Participants: 2 Read full topic
View ArticleTreeLayout - Prevent remove all parents
@danielt wrote: Hi, When I use TreeLayout and delete some node I would like to prevent delete all node parents (above).How can I do that? Posts: 4 Participants: 2 Read full topic
View ArticleHow to remove the all link in child node?
@alice wrote: The old nodelink remains.How to remove the all child link in node ? Posts: 1 Participants: 1 Read full topic
View ArticleHow to get node layer LayeredDigraphLayout?
@chengwei wrote: i want to get node level using LayeredDigraphLayout like TreeLayout findTreelevel method . Posts: 2 Participants: 2 Read full topic
View ArticleHow to calculate length of a link
@JEE wrote: Hi. How can I get the x & y coordinates of a link between two nodes? Scenario: I am trying to position a link label. I need to compute the segmentfraction for based on a specific...
View ArticleNode displays wrong on IE, fine on other browsers
@ernestjessee wrote: I have a fairly complex node with an SVG shape in the upper left and an SVG icon overlaid onto that shape. I have another SVG icon in the lower right corner. In Chrome, firefox,...
View ArticleDefault nodes placement is too narrow. How to change it?
@andrzej.d wrote: Hi,I am new to gojs and currently working at the state chart. I noticed that when i set up nodes without loc attributes they are set up in the middle of the diagram with very little...
View ArticleLinking simple objects
@steve.winter wrote: I'm currently evaluating GoJS for a client and have been following the samples to create a doubleTreeLayout, which is working exactly as we need it to. I've also been able to...
View ArticleShape in the pallete to be smaller after being dragged to the canvas
@ItayK wrote: Hi I want the the shape size in the pallete will be smaller after drag it to the canvas The shape: myDiagram.nodeTemplateMap.add("Validation", GoJs(go.Node, "Spot", nodeStyle(),...
View ArticleBest approach for selection adorment
@invlol wrote: Im evaluating the last version of gojs to see if fits out diagram design before buying the library. I need to create the following type of nodes: 1- Default node: 2- Selected node The...
View ArticleDisable undo manager will cause link changed event not fired?
@chzh.austin wrote: Hi GoJS group, I realize if I set undoManager.isEnabled to false in my diagram, I will no longer get go.ChangedEvent.Insert from model changedListener fired? Actually, evt.object...
View Article