Save and restore entities coordinates and links points in a diagram
@Giosk wrote: I have a diagram with entity and links and following this example I’m trying to save the entities and links position and following restore them. The diagram is very simple, and is...
View ArticleBUG regarding text editor and diagram style 'overview: hidden'
@vorant wrote: In this plunk you could see it https://next.plnkr.co/edit/f0toqbP1DRJ68Jsn How to reproduce: put a half node outside viewport double click to start edit text write a long string Video...
View ArticleDynamic Link templates based on the data of the Node object
@ruth_psychx86 wrote: Hi, I have an array of objects for the node, each node object has a linkType key. If link type is A I want the linkTemplate for that particular node to be A. If the link type is...
View ArticleGoJS Version 2.0.9
@simon wrote: Changes for 2.0.9 Diagram.makeSVG now accepts callback and callbackTimeout options. This makes it more like Diagram.makeImage and Diagram.makeImageData (which have had these options...
View ArticleHow to get selected link points in gojs?
@colby wrote: How to get selected link points in gojs? { “key”: 127, “ComponentNo”: 127, “ComponentTypeNo”: 3, “ProjectNo”: “5”, “SystemNo”: 21, “points”: { “__gohashid”: 19215, “v”: true, “j”: [ {...
View ArticleHow to set angle of edge into child?
@maticrepse wrote: How would one set the angle from which the edge “arrives” into the child? If it’s possible? Or is it possible to have different types of alignments per edge or vertex based on the...
View ArticleIs it possible to set tooltips on ContextMenuButton?
@colby wrote: Is it possible to set tooltips on ContextMenuButton? Sample Code { contextMenu: (go.Adornment, "Vertical", { defaultStretch: go.GraphObject.None }, (“ContextMenuButton”, (go.TextBlock,...
View ArticleLayout Option for user
@Shivesh wrote: Hi Support , i need to create a diagram with different layouts option. user should have option to view diagram by selected layout option. when user select any option diagram should be...
View ArticleSimulating linking nodes
@uriel wrote: I am trying to test linking between 2 nodes, using the robot class I try to link between two ports. Instead of creating the link gojs just move the start node to the position of the...
View ArticleWhy error when add 'source' attribute to data?
@da wrote: myDiagram.nodeTemplateMap.add("", // the default category $(go.Node, "Table", nodeStyle(), // the main object is a Panel that surrounds a TextBlock with a rectangular Shape $(go.Panel,...
View ArticleShow/Hide buttons on basis of condition
@SmilyArora wrote: Hi, I have two buttons(expand and collapse), both of which are shown on the basis of a particular condition. Now, i want to modify the behavior like : On click of expand button,...
View ArticlegraphLinksModel.linkFromPortIdProperty connecting to complex object
@uriel wrote: my data model is designed that way class sequenceFlow { sourceRef :string targetRef:string edge:BPMNEdge } class BpmnEdge{ fromPort:string toPort:string … and many other UI properties }...
View ArticleCreate dynamic multilevel Context menu with NodeDataArray's data
@ghulam wrote: Hi, I want to create a dyanamic multilevel context menu where data will come from NodeDataArray. I found samples of multilevel context menu with hard coded html content.I want to make...
View ArticleChange in 2.0.0 when assigning keys to nodes dropped from palette
@neilspragg wrote: Hi I have a palette and a canvas setup. I drag from the palette to the canvas and its all good. If I drag a node from the palette to the canvas and there is already a node with the...
View ArticleWall Building Tool In FloorPlanner
@mwason13 wrote: I am working on a floor planner which is completely different from what we have in GoJS Projects.I want to know what concept is being used for building the walls and how to implement...
View ArticleSetting default color of the diagram to null
@Bv wrote: I have been creating diagrams that require the color to be null. I defined the fill to be null in the node dataarray .I am having an inspector with many properties like fill,stroke,...
View ArticleTreeExpanderButton default collapse
@chenguanglin wrote: when init diagram ,to use treeExpanderButton, how to default collapse tree,I do not where to call Node.collapseTreeor Node.expandTree ? thanks thanks thanks thanks thanks thanks...
View ArticleToggling nodes through HTML check-boxes
@mwason13 wrote: Is there any way to add visibility option to display nodes by using check-boxes in html?Is there any sample that demonstrates this feature to control the visibility? Posts: 1...
View ArticleDetailed node view in a new panel
@tabjula wrote: Hi Team! I am working on floorplanner tool for network engineering. I have created few nodes in my diagram but I need a feature that enables the user to right click on the node and...
View ArticlePath Animation with multiple start tokens
@akashjan4 wrote: I’m working on Path Animation, I have defined Start and End nodes of my graph and customize the code to traverse, it works very well with single token, but when I want multiple start...
View Article