Undo/redo independent between different layer
@chzh.austin wrote: I have a trouble to make undo/redo manager happened only in the scope of each layer. For example, I have two layers A and B. They are mutual for each other, which is to say, only...
View ArticleModify coordination of Points in a link
@chzh.austin wrote: I would like to modify the coordination of Points in a link via adding a offset if (part instanceof go.Link) { let points = new go.List<go.Point>(go.Point);...
View ArticleIssue when adding Node to a Group (Group comes back to foreground)
@jjohnsonocs wrote: I have went through all the samples and I just can't figure this out. I have got Groups working and I have Nodes working. When I drag a node onto a Group the data shows the node is...
View ArticleAdd child to parent node(treeview) when object is dropped in mydiagram
@aj wrote: I have a palette from which I can drag a shape(eg roundedrectangle) into my diagram on right side and a tree node present on the left side. As soon as the shape is dragged into myDiagram,...
View ArticleToggling between standard tree and a radial tree
@EvilProfesseur wrote: Hi, I'm trying to give the user the ability to switch between different kinds of views. The diagram shows a tree structure, but I want it to organize itself radially if the user...
View ArticleLink node with itself
@cardis1 wrote: Hi, I would like to know how I can create a link from a node to itself? Here an example of what I want reproduce with GoJS: Thank you and have a nice day! Steeve Posts: 2 Participants:...
View ArticleBinding more than one value
@g.bartoli wrote: Dear Northwoods Software,we are evaluating GoJS for a small internal project, I'm a beginner and I would like to ask a small question. I already understood how to bind simple model...
View ArticleForceDirectedLayout avoiding link collisions
@g.bartoli wrote: I've another question for you. I'm not expecting the final solution, but just some guidelines would be great.I'm experimenting with ForceDirectedLayout and tweaking arrangement...
View ArticleZoom to fit after changing layout
@g.bartoli wrote: Hi Walter,I managed to produce a graph with a behavior similar to the Fishbone example where buttons are used to dynamically change the layout (I'm switching between TreeLayout and...
View ArticleGet link Data when LinkDrawn Diagram event
@chinenyem wrote: I have the following: LinkDrawn: getLinkData function getLinkData(e) { console.log(e.subject.fromNode.data, e.subject.toNode.data ) console.log(e.subject.toNode.data) } However it is...
View ArticleGet center of node.port
@estesbubba wrote: Because our legacy UI only stored link midpoints in the database we have to calculate the start and end points for links. This code works but but the link centers on the entire node...
View ArticleMoving a group seems to disregard locationObjectName
@david0 wrote: When I call the move method on a group, it seems to calculate its rendered position differently than how it was calculated for the initial layout. As a simple test, I would expect the...
View ArticleUncaught RangeError: Maximum call stack size exceeded
@ssp wrote: I start getting this error, the second time I try to update the model with my latest updated data. ...say...agDiagram.model = go.Model.fromJson(agDiagramData); I used to get this error...
View ArticleIs it possible to put draggable Label inside group?
@chinna wrote: Hi, I have a requirement to add one draggable Panel inside group. is it possible to add panel inside group? Posts: 3 Participants: 2 Read full topic
View ArticleHow do i remove a specific link, not all links?
@chinenyem wrote: I tried myDiagram.model.removeLinkData(removeLinkObj). The removeLinkObj object is {from: '-2a', to: '-5a' } . However it isn't working like its suppose to. Posts: 3 Participants: 3...
View ArticleIts possible make a diagram image as in pdf , i tryed this manner but not...
@Richard wrote: generateImages (width:any, height:any) { console.log(width) console.log(height) // sanitize input width = parseInt(width); height = parseInt(height); if (isNaN(width)) width = 100; if...
View ArticleHow to enlarge node and link click area?
@andrzej.d wrote: I use stateChart example template and i am puzzled how to make node click area (the inner one to move node) bigger? The linking area is like much bigger and sometimes when i want to...
View ArticlePreventing closed loop in GoJS group to group link creation
@utpal wrote: Hi all , for my project I am using GOJs libary . So far all of my requirements are fulfilled but I am struck in one point regarding validation when creating group to group link....
View ArticleLink Connection Point on irregular shapes
@g.bartoli wrote: Hi,I'm continuing doing experiments with Tree/ForceDirected switching layout and I have a question regarding the link connection point on nodes using irregular shapes like a star. I...
View ArticleReverting to original TreeLayout after grouping nodes in GridLayout
@EvilProfesseur wrote: I've set the diagram up in a way that allows the user to see the nodes in a tree view, and after a button is clicked they can group the nodes based on chosen property, like a...
View Article