Unable to get object data on click event in contextMenu
@ash wrote: Hi team, Am trying to use contextMenu in my app for floorplanner, but am unable to get the object data on click event when i click anywhere other then my selected object as in “CASE :2”....
View ArticleMatch diagram with underlying photo
@udi wrote: Hello, I’m trying to use GoJs for creating “markings” on top of a photo. The way I’ve created the page is that the GoJs canvas is a section on the page (set by percentage of the entire...
View ArticleHow do I group node across the lane
@daikitakaya wrote: I use PoolLayout. ( https://gojs.net/latest/samples/swimLanesVertical.html ) I want group nodes like this. ダウンロード (14).png1748×1260 146 KB I think this layout needs to “group...
View ArticleMulti-user Collaborative Editing
@dustinormond wrote: I am curious if there is a way to have multiple users edit a diagram at the same time. I have built a workaround (for now) that reloads the diagram anytime another user makes a...
View ArticleMake port invisible once a link is connected to/from the port
@kirthi wrote: Hi, I want to implement that by default node will show all the ports and as and when a link is drawn from the port the, the connected port should get hidden while rest should be...
View ArticleLayout change but the layout was incorrect
@Lavender wrote: For the same batch of data, I first used DemoForce Directed Layout, then Sankey Layout, and then restored to DemoForce Directed Layout, but the layout was incorrect, as shown in the...
View ArticleGuidedDraggingTool bug
@Mickey wrote: I think there is a bug in current GuideDraggingTool implementation. It seems when tool do snap it counts node bounds instead of locationObject bounds. What I am talking you can see in...
View ArticleHow do You Copy, Cut, and Paste Items in Nodes?
@dustinormond wrote: I am wondering how to copy, cut, and paste items in nodes rather than the nodes or links themselves. Essentially, I am looking to replace console.log("copy"); and...
View ArticleWay to create the diagram when linkdataarray is not there
@SmilyArora wrote: Hi, I have a json which gives me a node data array in a sequential manner. Something like: nodedataarray: [{ “category”: 1, “id”: 1 }, { “category”: 2, “id”: 2 }, { “category”: 2,...
View ArticleRoundedTopRectangle unknown error
@sjcatch wrote: I am trying to use RoundedTopRectangle, but I get error $(go.Shape, “RoundedTopRectangle”, // new go.Binding(‘stroke’, ‘status’, function (s) { return resolveStatusColor(s); }), {...
View ArticleSpace issue between shapes
@sjcatch wrote: I have below code and output, I do see some extra space comes between shapes where I couldn’t find way to remove. Do you find anything wrong with my approach? myDiagram.nodeTemplate =...
View ArticleA few memory leaks
@catface wrote: we have a scenario where we keep opening and closing goJS based diagram editors. one of the problems is that each time there are a few “leaks” related to goJS: image.png1164×734 33.6...
View Articlego.Picture binding from element to property does not work
@Dominic.Lerbs wrote: Hello, I am trying to bind the go.Picture “element” property to a model property (the property contains the base64 encoded image). However, the image is not displayed, even not...
View ArticleTextBlock change event on link
@vitludwig wrote: Hey, Is it possible to catch change event, when user edit TextBlock on Link, so I can process input data with reference to edited link? I mean something like change: function()... on...
View ArticlePrevent deleting a node
@sbhopi wrote: Hello, I tried deletable: false as new go.Binding(‘deletable’, ‘false’)) in Shape node, but its not working for me. Is there another way to define it? Posts: 3 Participants: 3 Read full...
View ArticleZoom is not working if I set the diagram.autoScale to "go.Diagram.Uniform"
@atn654 wrote: Zoom is not working on my diagram if I set the diagram.autoscale to go.diagram.uniform; I need to use autoscale because when the browser is resized, the diagram should be scaled...
View ArticleNode static position
@no_one345 wrote: i m working on a diagram there is a node in m y diagram with a templatemap “rootnode” i need that ode to be always present in the upper right corner over every thing and stay there...
View ArticleLinks Going Over from Nodes
@kishangajjar wrote: I am using TreeLayout. Following is my layout code. go.GraphObject.make(go.TreeLayout, { nodeSpacing: 20, nodeIndent: 0, nodeIndentPastParent: 0, layerSpacing: 50,...
View ArticleIncorrect routing of links on first layoutDiagram(), but correct after the...
@mlerman wrote: Hello, I have a diagram using the LayeredDiagramLayout, by default with a vertical orientation: image.png356×594 20 KB I have a button in our application which dynamically changes the...
View ArticleHow to Change the Overview Box border
@PennyK2007 wrote: I am trying to change the border of the overview box from the default magenta. I tried using the directions given in a previous post in 2014, but stroke is no longer an option....
View Article