Hiding links when hiding nodes
@BasterX2 wrote: Thanks for the quick reply, I will review it, another problem that I have is that I can hide the nodes but the links are not hidden and autoassign to the groups where they are and can...
View ArticleGroup resizing with locationSpot=go.Spot.Center
@Doogal wrote: If I have a group containing several nodes when I resize the group the behaviour is different depending on the value of locationSpot If it’s go.Spot.TopLeft, the nodes stay in the same...
View ArticleOverlapping links in GOJS
@gayathri wrote: Hi , We are creating a final image as below , the links seem to overlap making it difficult to point the source port and the destination port. Is there anyway to stop the links from...
View ArticleFYI Correction to Icons GoJS Sample
@anguskwalker wrote: I’ve been struggling to find out why my default SVG icon wasn’t displaying using the example above. I discovered that the code in your example has a bug in the geoFunc function:...
View Article[Seating map] _ Fixed distance between seats
@nxhoang wrote: Dear all, I’m using this function to generate seats. function RecSeats(total, seatAlign) { var seats = []; if (total > 0) { let px = seatAlign; let py = 0; for (var i = 1; i <=...
View ArticleGojs select node after edit another node
@Avigail wrote: I have a diagram with some editable text blocks. when I edit a node, and after it I want to select another node, I have to click twice in order to select the node, one to finish edit...
View ArticleHow to modify links behavior in TreeLayout
@Giosk wrote: Dear Walter, I created a treelayout visualization with nodes and links and I get a good result, but I would like to know how to remove two different behavior. tree2.png1539x833 52.5 KB...
View ArticleChanging behavior of temporary link when drawing a new link
@Dominic.Lerbs wrote: Hello Walter, I am stuck with the diagram.toolManager.linkingTool.temporaryLink. It always starts the links in the center of the node. My custom Link class does what I want, but...
View ArticleGap between fromArrow shape and node
@Dominic.Lerbs wrote: Hi, I would like to add a gap between the fromArrow shape and the node: I have tried setting fromEndSegmentLength and fromShortLength, but this only affects the “line”, not the...
View ArticleIs it possible to write code in genogram for a Child has multiple parents in...
@prameela.dara wrote: Hi Walter, I have the one requirement in genogram. Please let me know whether it is possible or not. In the below diagram, c1 and c2 are twins to both parents p1 and p2. Again,...
View ArticleGive rounded corner to textblock
@ozairsajid wrote: Hi, We would like to give rounded corner to textblock. Is this possible? Below is the current template: Screen Shot 2018-11-26 at 4.24.26 PM.png1492x334 62 KB const...
View ArticleLink Location in Tree Layout
@Tany wrote: Hi, My Diagram has Tree Layout with the following attributes : this.diagram.layout = this.GO(go.TreeLayout, { angle: 90, nodeSpacing: 10, layerSpacing: 40, layerStyle:...
View ArticleFloor plan rendering
@Formaciones wrote: Does anyone know if and how can I add color, texture and 3D shadowing efects to floor plans generated by GoJS? My company wishes to purchase a licence of GoJS to generate floor...
View ArticleRelink is not working after setting portId to ""
@HJOON.KIM wrote: Hello, walter. I set portId of a node type of A to empty string. Port position and linkable/non-linkable parts in a node GoJS I think you want to do what is discussed at...
View Articlenode.updateRelationshipsFromData does not work
@Dominic.Lerbs wrote: Hi, following data is bound to a node: I pass the node.data object to another component, which deletes one item from the types array. Now the item in types array with index 3 is...
View ArticleProblem with port in node when using data binding
@Mik wrote: Hi, I’ve problem with this piece of code (started from the example htmlinteraction): myDiagram.nodeTemplateMap.add("", // default category GO(go.Node, "Table", nodeStyle(), { locationSpot:...
View ArticleTransactions about modifying node data
@kingo wrote: function updateProprerty() { myDiagram.selection.each(function(node) { for (var para in node.data) { var nodeData = node.data; var oldValue = node.data[para]; var newValue = $("#p_" +...
View ArticleLayeredDigraphLayout creating different Routing and link style in the diagram
@dreamweiver wrote: Hi Team, I have used LayeredDigraphLayout to arrange the nodes horizontally and vertically, although everything is working fine, the link style seems to be different from the one...
View ArticleLink loose port binding when bound port id is changed
@Dominic.Lerbs wrote: Hi, when I use the following code to update the key and text diagram.startTransaction("update"); var node1 = diagram.findNodeForKey(1); node1Data.itemArray[0].key = "ABC";...
View ArticleDragging a node outside a Group
@Tany wrote: Hi, I need to enable the user to drag a node from a group to another group. I saw your draggble ports sample where ports are nodes in group and they can be dragged from one group to...
View Article