Snapping to other objects
@Hochware wrote: Hello My diagram has gridsnapping enabled. However, there are objects with sizes that do not fit with the grid (grid has steps of 5… and the object has a width of 17 for example)....
View ArticleComputeEffectiveCollection and moveParts
@Hochware wrote: Hello I have got yet another problem which I do not know how to handle. As I mentioned in this topic: Overriding draggingTool.moveParts I am using...
View ArticleAdd TableRow in the table
@ndieng wrote: Hi want to add table rowin my table this the code //add field decision or question myDiagram.nodeTemplateMap.add(“Decision”, (go.Node, "Auto",nodeStyle(), (go.Shape, { fill: “white”,...
View ArticleGojs licenseKey for 2.0 version not working in qa env
@jubin wrote: Hi, We are upgrading gojs from 1.8.x to 2.1.x We have 2.1.x licenseKey with “Unlimited domain customer” rights. We use go.licenseKey = "YourKeyHere"; approach to set the licenseKey. In...
View ArticleForceDirectedLayout doesn't seem to do the job as intended
@MementoMori78 wrote: Hello to everyone. I’ve started to learn your library several days ago to discover if it’s able to meet my project needs. Everything was great - Nodes&Links formatting,...
View ArticlestayInGroup breaks snapToGrid
@andrei wrote: Hi, I’m trying to build a diagram that uses the swim lanes example. I also enabled a 20x20 grid and snap to grid. If I remove dragComputation: stayInGroup from the node template, the...
View ArticleGojs arrowhead broken
@siddhanntarora wrote: Hi Team, I have a saved json generated from gojs, i updated the text property of the node befor3 loading the page. On loading page i bind this updated json to the model, the...
View ArticleGoJS 2.1.3 and 2.0.21 Released
@simon wrote: Changes for 2.1.3 Fixed a regression (that started in 2.0.0) with AvoidsNodes links improperly re-routing when using the DraggingTool. Fixed a undo (redo) bug with AnimationTriggers that...
View ArticleAuto add start & end points to links?
@estesbubba wrote: Our web app can work with either our new cloud micro services and also our legacy services. With the cloud the start, end, and all midpoints are persisted. With the legacy code it...
View ArticleDistance/connection between two nodes
@no_one345 wrote: i m using this example as base https://gojs.net/latest/samples/distances.html My question is that is there a way to find connection between nodes ignoring direction of the links?...
View ArticleDealing with Nodes Coordinates within MindMap TreeModel
@antoinephp wrote: Hi, my question is about coordinates. I’ve read Coordinate Systems but I have not understood everything. I need to visualize some “text entities” based on a parent child...
View ArticleWeird scrolling behaviour
@Hochware wrote: Hello, I got the following diagram: image.png1078×582 35.8 KB The top red area is the header of the modal which contains the goJS canvas. For some reason, the diagram jumps up,...
View ArticleMoving objects with arrowkeys
@Hochware wrote: Hello In the post Overriding draggingTool.moveParts I stated that my diagram has grouping functionality and I am overriding computeEffectiveCollection in order to change the set of...
View ArticleDisplaying a html div besides a node
@STM wrote: Hi, I have a plotted a diagram and stuck at a particular point. I want to display a html div besides a node when that node is double clicked. So using ObjectDoubleClicked and filtering out...
View ArticleImplemnting specialdraggingtool in typescript Angular issue
@rahat1994 wrote: I am trying to impliment seatingchart sample for one of my clients project. But I cannot implement the special dragging tool which will keep all the guests with the table when I drag...
View ArticlePositioning image inside RoundedRectangle
@jubin wrote: Hi, We use icons as fonts and the font string value is given as text filed to TextBlock. This textBlock is added to a RoundedRectangle Panel. Now the icon is coming out of the parent...
View ArticleBlurry Svgs when small
@Hochware wrote: Hello, In my application, it is possible to add SVGs to the canvas. They can be resized. Oddly, when I make those SVGs very small, this happens: Notice that the circle around the...
View ArticleHow to have multiple labels on a link
@abhishek_jena wrote: Hi Walter, We have a request, where we need to add text and an icon in each of the segment. The text might have to have the same angle as each segment. Can you please help us...
View ArticleHow to create a link that doesn't affect the layout?
@cfarmerlv wrote: I have a LayeredDigraphLayout and I’m generally happy with its default look. I want to now add some links that are only conditionally visible and which do not affect the layout of...
View ArticleDragging links from node
@STM wrote: Following is my node template - gojsDiagram.nodeTemplate = $$(go.Node, "Vertical", { opacity : 0.5 /*, background:"#c9c9c9"*/ }, { selectable: true, selectionAdornmentTemplate:...
View Article