After rotating event
@nmvuong wrote: Hello everyone, As I knew this code is rotating function. goJs(go.TextBlock, number.toString(), { font: "10pt Verdana, sans-serif" }, new go.Binding("angle", "angle", function (n) {...
View ArticleDragging Hidden Nodes Only, Keeping Groups Centered During Expansion
@Andrey-Chmykh-Bose wrote: Hi, I’ve got two questions. I’m interested in using the {"draggingTool.dragsTree": true} setting, but only if the tree is collapsed. Is this possible? Whenever I expand one...
View ArticleI m having trouble with Inspector
@no_one345 wrote: I m using angular 7 and i have run into a problem with inspector specifically with the div in which it loads the inspector i m using ngIf to toggle the div which displays the...
View ArticleSwim lane drag is not working for group and working for other nodes
@mayur_dit wrote: Hi There, I have integrated swim lane with my diagram and drag is not working for group. Drag is working for all other nodes in lane only groups is having issue. Please check my...
View ArticleLabels Links with key value
@JingYongWang wrote: The following example like this: https://gojs.net/latest/samples/umlClass.html I try to set a Label in Link and write some code like this linkTemplate $(go.TextBlock, “value I...
View ArticlemyDiagram.addDiagramListener
@chairui405 wrote: why this myDiagram.addDiagramListener(‘ObjectSingleClicked’,function(e){ console.log(e.subject.part.data) }); 点击一次视图出两次事件 Click once to view two events is two data ? two click?...
View ArticleWitch property determine the layer in LayeredDigraphLayout?
@Ricecake wrote: “The layering satisfies the following relationship: if L is a link from node U to node V, then U.layer > V.layer” is metioned in method “assignLayers”. But I found the layer object...
View ArticlePositioning ports without using Spots
@NM wrote: Hi is possible to decide position of port instead of Spot(0, 1) , can we use location property on node? here I am able to manage a port position using Spot. but spot value is in between 0...
View ArticleAdd chart to diagram
@marek.dabrowski wrote: Hello I’ve applilcation writen in JavaFX but I would like migrate it to GoJS. My problem is that I don’t know how to add new charts (Peitty) to Diagram. Example from...
View ArticleDouble selectionAdornmentTemplate
@gora wrote: I have used selectionAdornmentTemplate to override the default rectangular one. But what am getting was double circle selection for a single node something similar to the attached image....
View ArticleError In use Guided Dragging
@ali_shirazi wrote: hi, i want to use GuidedDraggingTool.js like this sample : https://gojs.net/latest/extensions/GuidedDragging.html but when i drag a node i got this error in console : TypeError:...
View ArticleHighlighting nodes and connections
@DaveV wrote: Hi we Would like to pass an array of nodes and highlight nodes and connections in one direction for those nodes I.e. provide node 1, 6, 8, 11 and although 8 and 6 have connections in...
View ArticleSelectionDeleting even
@chairui405 wrote: when i used SelectionDeleting even delete data from mysql i need key , how can i do it , i don’t get node key ,Bf {aa: D, Sb: “SelectionDeleting”, Ow: I, xw: null, Xq: false}...
View ArticleDragging items from the palette
@VyacheslavSavul wrote: Is it possible to make the elements dragged from the palette not to hide abroad? I just want the elements to be dragged onto the diagram without jumps. Posts: 1 Participants: 1...
View ArticleHow to hide vertical and horizontal scroll bars
@gora wrote: Hi Walter, Whenever I try to add too many controls in my gojs diagram div, gojs automatically shows vertical and horizontal scroll depends upon the control size. I have an overview so I...
View ArticleTreeLayout.AlignmentCenterChildren
@gora wrote: Hi am having start and end node with two nodes in between. If i add second add and connect it from start it will automatically align the start in center to the below childs. then, if is...
View ArticlefromPortChanged event gets call during Diagram Rendering with provided model
@gora wrote: Hi Walter, I need to call a method after two nodes are connected with link, this is possible with fromPortChanged or toPortChanged event in the linkTemplate. But this event got called...
View ArticleCannot find link by data
@no_one345 wrote: i m trying to find link in graphlinkmodel the json is as follows Screenshot from 2019-01-30 18-25-26.png1366x768 186 KB there is a link with key i need to alter it but i cant find it...
View ArticleDeleting child nodes in tree
@no_one345 wrote: i m trying to delete all the child node if parent is deleted for reference i m using https://gojs.net/latest/samples/orgChartEditor.html but if i delete a parent node in this the...
View ArticleStrange Routing after deleting node and adding a new link
@xyan3 wrote: Hi GoJS guru: We are using ‘routing: Link.AvoidsNodes’ for link template. In the beginning we have a diagram looks like this: After deleting the node in the middle “Untitled2”, we...
View Article