Error in point constructor
@no_one345 wrote: i m using this as link template but when i load my model i get this error this.diagram.linkTemplateMap.add("Curved", this.Go(go.Link, // the whole link panel {isTreeLink: false,...
View ArticleLayout for auto arrange node in BPMN Lane
@opkeydev wrote: Hi, I am currently trying to produce a BPMN layout very similar to the BPMN example on the GoJS samples page, but I want to auto arrange nodes in one lane I don’t need to provide any...
View ArticleClarification regarding selection
@pratik.darak wrote: Hi, Below is my structure for creating a diagram: Node -> Panel -> Panel -> Shape -> TextBlock. We have also added DiagramListener for events: “ObjectSingleClicked”...
View ArticleListening to link position updates in React
@soumyajit wrote: We are updating the text bindings in a node from a React form and using the skipsDiagramUpdate flag set to false we make the canvas update. But in some cases when the node shifts...
View ArticleNode showing outside of group
@brajeshrajput wrote: Hi, I am creating two group with fixed height and width but node inside group is not auto adjust with in group it is showing out of box, even it is having lots of space in group....
View ArticleDrag link template
@no_one345 wrote: how to change the shape of link while dragging to same as of the template given to link and change the purple border while dragging Screenshot from 2020-02-19 12-34-16.png1366×768...
View ArticleCustom fill of nodeTemplate
@bahuubali wrote: Hi, I have nodeTemplate config below: (go.Panel, 'Auto', { stretch: go.GraphObject.Horizontal }, (go.Shape, { fill: ‘#4dbd74’, stroke: null, height: 35 }), $(go.TextBlock, {...
View ArticleBinding points to an array of objects
@Jednorozec wrote: Hello, I’ve got a problem binding points to save them into DB and parse them back into diagram. Here is my binding for my link: this.diagram.linkTemplateMap.add('ToApproval',...
View ArticleEvent that signifies the tree is expanded/collapsed fully
@STM wrote: Hi, I have a very basic functionality to expand and collapse the tree of a particular node for which I have the following code. node = diagramInstace.findNodeForKey(nodeId); if (...
View ArticleGroup from links data array
@no_one345 wrote: Is there a way to use link to produce same result as group? Such that i pass an attribute in link and the api converts it to Group for the concerned nodes? Posts: 2 Participants: 2...
View ArticleGoJS version 2.1.9
@walter wrote: Changes for 2.1.9 Fixed breadth computations for some cases of TreeLayout.arrangement of separate trees when TreeLayout.compaction is go.TreeLayout.CompactionNone . Fixed type...
View ArticleLicense key not working after deployment on domain server
@brajeshrajput wrote: Hi, I have GoJS v1.4.27 JavaScript Library with its license. While running the application on localhost then watermark is not appearing on diagram but after publishing it on...
View ArticleLink Style Changes required
@mithun wrote: Hi Walter, We were looking for a link with style like below, can you please suggest the best way of doing it? Thanks Mithun Posts: 2 Participants: 2 Read full topic
View ArticleWatermark appeared after updating from 2.0.14 to 2.1.9
@Valerii wrote: We have not find a solution, so decided to start a new topic. We have upgraded gojs package from 2.0.14 to 2.1.9 and watermark appears. We have a licensekey seting as go.licenseKey =...
View ArticleConsecutively adding nodes through model.addNodeData will overwrite the...
@plusor wrote: Hello new Binding(‘location’, ‘loc’, Point.parse).makeTwoWay(Point.stringify) When I continued to manually create nodes through mode.addNodeData(loc was null), all nodes were...
View ArticleNode template bindings and node data
@STM wrote: I have the following node template Node template $$(go.Node, 'Vertical', {selectable: true, selectionAdorned: false}, // removing adornment new go.Binding('location', 'loc',...
View ArticleSelecting TextBlock in the node
@pratik.darak wrote: Hi, Can we make a TextBlock selectable and also have it highlighted once it is selected? What are my options for the same? I tried searching for it in the API documentation but...
View ArticleLayeredDigraphLayout nodes rendering to wrong layer when layers contain no nodes
@mark-tnt wrote: I have a diagram using a modified LayeredDigraphLayout. I need 5 layers to be displayed at all times, even when a layer does not contain any nodes. This is the overridden...
View ArticleNeed to Add Custom Icon in Node
@Yogesh.Mohan wrote: Hi Team, I need to add custom sprite Image icon in my node can you please tell me how could i implement this on my this bpmn node code given below I need to show then look like...
View ArticleTooltip is going beyond my diagram
@mithun wrote: Hi, I am using html based tooltip and my tooltip is going beyond my diagram when I set its position based on which node is selected. Is there any way smartly goJs can handle and place...
View Article