Node Position or Location based off of Node part and not Node itself
@RoyL wrote: Hi, Long time listener, First time caller…lol My question is, is it possible to position a node via location or position based on the Image part or any sub-part of a Node, or only the...
View ArticlePrevent links looping back from crossing other links
@mlerman wrote: Hello, I have a diagram which uses the TreeLayout and some nodes loop back to the top. This has the unfortunate effect of crossing existing links (since I am avoiding nodes) and I was...
View ArticleBinding to 'data' (.ofObject())
@Luddy wrote: I have a node template that looks like this: $(go.Node, ..., $(go.Picture, { name : "PIC" }, new go.Binding("element", "data", data => { return this.createCanvasForData(data);...
View ArticleMultiple LinkingBaseTools in a diagram?
@Dave wrote: Hi, I’d like to have 2 different link behaviors in a single diagram - mostly the same except isUnconnectedLinkValid true on one and false on the other. I don’t have all the details sorted...
View ArticleAdding Link in Model ChangedEvent
@estesbubba wrote: I have a scenario when adding a node to the diagram where I also need to add a self-looping link to that node. I need to do that when the Model ChangedEvent fires and propertyName...
View ArticleAdd new Node between two nodes without arranging whole layout
@opkeydev wrote: Hi, i am using LayeredDigraphLayout with following options layout: $(go.LayeredDigraphLayout, { direction: 90,isOngoing: false,isInitial :false, layerSpacing: 50, columnSpacing: 40,...
View Article_ property in model.addLinkData()
@estesbubba wrote: I need to add some data to my link model that isn’t used by the diagram link template. This data is needed later and I thought to use _ to mark it as extra data not used by the...
View Article`measureTemporaryTextBlock` depending `font size`
@vorant wrote: I’m working with TextEditor.js and measureTemporaryTextBlock and want to get height of temporaryTextBlock with different font sizes but this function return the same height with all...
View ArticleTreeview expand only next sub level
@Raminaidu wrote: I am using GoJs tree view. All the nodes in my tree view are expanded by default. My requirement is when i first load the tree view it should expand only to the first level. When i...
View ArticleisSubGraphExpanded doesn't preserved on copy/paste group
@AntonTrinkunas wrote: Hi We have a problem that after copy/paste groups collapse/expand state is not copied. Can be reproducible on Grouping sample. I tried to implement it by overriding...
View ArticleLink graphics are "wrapping around" to original points
@av8orbynight wrote: I’m placing links over a map. Essentially, a string of lat/long pairs are placed inside the ‘points’ field of the link data. I have a start node(red), and an end node (blue). The...
View ArticleCopy Selected Nodes and Links and Add them to new Diagram
@danaia wrote: Like to ‘export’ a collection of links and nodes from one diagram and ‘import’ this collection into a new diagram. I currently can save JSON into a DB (using MongoDB) and then retrieve...
View ArticleQuestion about customizing link appearance
@AndreaCensi wrote: I am evaluating whether I can use GoJS for my application. I need to draw links like in the picture below. I can see how to realize the appearance with extra nodes/links, but it...
View ArticleAngular gojs integration
@no_one345 wrote: i cant seem to make the data inspect work in angular do you have an example of a tree with data inspector in angular? https://gojs.net/latest/samples/orgChartEditor.html i m trying...
View ArticleAdding Child Lane (BPMN)
@hakanseysane wrote: Hi, BPMN swimlanes has a feature: child lane eg: https://cdn.visual-paradigm.com/tutorials/bpmn2_screenshots/20160307/12-updated-bpd.png I need using child lanes. How can I add a...
View ArticleA good way to connect father son nodes?
@zhouhuan0910 wrote: Hello, I now have a requirement that a node has more than one dependent child node, the parent node has location information, but the number of child nodes is determined by...
View ArticleBehavior error between "spot" and "Vertical" for panel
@ahmetgundogdu wrote: Hello, https://gojs.net/latest/intro/itemArrays.html#ItemTemplates I assign the “vertical” value of the main panel to “spot” or “auto”. When this happens, the panel adds an extra...
View ArticleHow to optimize for SVG transfer
@ahmetgundogdu wrote: Hello, I have svg list. I make new shape using svg paths. But shapes is not equal. Example images: I use the node template:...
View ArticleTreelayout doesnt scrollToRect() if I expandTree() of parent node
@rkaren wrote: I have a tree based on Tree View sample. I have a search routine that locates a child node, selects it and scrollsToRect. It works fine if the parent is expanded but if I...
View ArticleWhere to find json file for a diagram
@sama wrote: Hi, I am a GoJS beginner and I want to ask where can I find the JSON file for any diagram also, if I save a diagram in local storage how can i access all stored files? thanks in advance...
View Article