How to use obj in linkTemplate in contextMenu in TextBlock
@pratap wrote: for problem bold/commented text in below code GoJs(go.Link, { routing: go.Link.AvoidsNodes, curve: go.Link.JumpOver, corner: 5, toShortLength: 4 }, GoJs(go.Shape, { isPanelMain: true,...
View ArticleHow to stack groups vertically
@MarcoNicolodi wrote: Hello. Im evaluating GoJS version 1.6.7. Im trying to stack these groups vertically. I managed to make it look like swimlanes, but with no lanes, just the pools. This is the...
View ArticleWhen resizing my diagram then modified event is not called
@riya1 wrote: HiWhen I am resizing my diagram then modified event is not called ?what may be the reason Posts: 2 Participants: 2 Read full topic
View ArticleGrouping using PolygonDrawing sample
@Santanu044 wrote: Using PolygonDrawing sample i am trying to draw a group.So in finishShape method, i am making the node as group and the node inside the group as a member group.But The member node...
View ArticleLinks Overlapping
@bravo2 wrote: Hi, i try to build diagram very similar to "State Chart" that appears in your Demo, but when I drag the labels, they appear to be below other links:Is there a way to make labels to be...
View ArticleHow to resize the Nodes inside the palette with respect to screen size
@Manisha wrote: Hi, I am having an palette with nodes inside different div segments implemented using jquery accordion as shown: but when I am resizing the screen the pallete is getting resized but...
View ArticleScale some nodes disproportionally
@cf_f3 wrote: Dear all, we are developing a kind of floor plan app with GoJs. The app allows the user to place items on the plan. These items may be small compared to the dimension of the whole...
View ArticleCan't figure out custom layout
@jpro wrote: I have objects with ports in a digraph layout. Ports need to be highlightable and selectable, and must belong to one of multiple groups (usually shown vertically on the left or right of...
View ArticlePrint a Go js Diagram
@shivam wrote: Hello, I am facing a challenge while printing a GOJS Diagram.I am using this code flow to Print:- var db = diagram.documentBounds.copy(); var boundswidth = db.width; var boundsheight =...
View ArticleIndividual link routing, layered digraph style
@mvlent wrote: Is it possible to have individual links routed like the layered digraph does. I.e. avoidNodes, but also avoid other links? If so, how? Posts: 2 Participants: 2 Read full topic
View ArticleMemory leaks
@maligan wrote: After loading the charts multiple times , JS Memory keeps on increasing , resulting to memory leaks.On destroy i am handling graph clear (graph.clear() and model.clear() etc....), but...
View ArticleTexteditor focus v1.7
@mvlent wrote: Currently in v1.6.21, the texteditor remains open when the canvas loses focus. This is undesirable, especially when scrolling the canvas. I’m using the ‘start’ class to check whether...
View ArticleTrying to remove a link
@rocarm15 wrote: I am trying to remove a link from a node (TreeNode) which is nested inside a groupTemplate. My aim is to revert a dragging action (from a node to another) or the delete action of a...
View ArticleGetting final height in data binding function
@jpro wrote: i have a node template with a data binding function that is meant to calculate the node height using the existing height and model data. however the only time this function is called the...
View ArticlePaste on mouseposition
@AndyP wrote: Hi,I got an issue from our service.They want to multiselect some nodes and paste them on the actual mouse position.I havn't found this option in the code or the documentation. Then I...
View ArticleHow to insertLink custom data for link while drawing link
@pratap wrote: Hi... All I am trying to insert Custom Link data while drawing Link. By using linkingTool.insert(fromnode, fromport, tonode, toport) but getting error i.e. go.js:13 Uncaught Error:...
View ArticleLink style on same node (toLinkableSelfNode)
@cardis1 wrote: Hello, I use LayeredDigraphLayout and i want to know if it's possible to create a "stylized" link when both ports is in the same node. My problem is that we want to use the "routing:...
View ArticleHow to make an adornment always shown?
@chzh.austin wrote: I need to add an associated shape on the side of each node. However, I still would like to make the selection box surrounding only node itself so that I don't want to this...
View ArticleHighlighting specific nodes and the link between them programaticaly
@idekkers wrote: I have an array of keys, and I want to highlight the nodes corresponding to these keys, with the links between them.Is there a way to do this grammatically? Posts: 1 Participants: 1...
View ArticleColor links based on attribule on node
@idekkers wrote: I have nodes, that at a certain point I add a "dead"=true attribute to,when I do that, I want to change the stroke color of all the link connected to it, I have this for the link...
View Article