Prevent 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 ArticleAdd tree expander button on basis of a condition
@SmilyArora wrote: Hi, Say i have a json: [ { “id”: “abc”, “hasSubprocess”: “ui-xd”, “parent”: null }, { “id”: “bcd”, “hasSubprocess”: null, “parent”: “abc” }, { “id”: “cde”, “hasSubprocess”: “ui-id”,...
View ArticleHow to add DimensioningLink to freehand drawn polygon
@mwason13 wrote: I am trying to add dimensions to the polygon which is drawn by the user. Can you help me in the code for polygon specifically? PS: I have accessed the relevant links for the...
View ArticleCopy Paste Diagram Across Browser Tabs
@dustinormond wrote: I would like to copy and paste parts of a diagram from one diagram to another diagram in a different browser tab. Is this possible? I know that it is possible within the same tab...
View ArticleGoJS version 2.0.5
@simon wrote: Changes for 2.0.5 Fix for Shape.defineFigureGenerator where it would incorrectly throw an error on Geometry bounds being too large, when they were not. Some touch events would cause...
View ArticleHow to make link label on link instead of through link!
@Lavender wrote: How to make link label on link instead of through link link label through .jpg1440×1080 106 KB In the middle, not on the left or right.As shown in the figure, cover the edges behind...
View ArticleContext Menu out of View port
@Tany wrote: Hi, I’m implementing a context menu with native HTML. When the node is near the view port edge, the context menu is opened down ward and it not shown in the view port. See attached pic :...
View ArticleGoJS version 2.0.6
@simon wrote: Changes for 2.0.6 Fixed a bug with the go.d.ts file where GraphObject.alignment was missing. Added missing cloneProtected overrides for BalloonLink and DimensioningLink so data is...
View ArticleIs there any functionality available for merging two Rectangles into one?
@mwason13 wrote: Please visit the link attached below and create a rectangle and then create another one and merge together. https://nrel.github.io/floorspace.js/ Is there any functionality available...
View ArticleNodes and links not redrawn properly after node sizes change
@mlerman wrote: Hello! Some nodes in our diagrams can be quite large, as shown below: image.png561×558 20.7 KB To make things more manageable, I added an option to hide all the white rectangles in all...
View ArticleExample:scrolling table
@ap wrote: Hi, In this example, when starting the table is in the middle (horizontal and vertical) But is it possible, at the beginning, to place it at top left of div? Yours sincerely Posts: 3...
View ArticleClear Diagram memory
@Tany wrote: Hi, My application uses several diagrams using the same diagram instance, namely when the user pushes a button, a diagram is loaded from DB into memory. When the user pushes another...
View Article3D Custom Rectangle
@Tany wrote: Hi, I need to implement a custom rectangle which floats over an area and has a “left leg”. I don’t know how to implement the “leg”, pointed by arrow in the picture Posts: 2 Participants:...
View ArticleFill is not showing color picker in inspector
@no_one345 wrote: i m working on a diagram that has fill property in every node but it doesn’t show as a color picker even when in inspector i have specified it to be color Screenshot from 2019-03-27...
View ArticleArrange nodes in pyramid or pascal triagle(from center) pattern
@rahimhaji wrote: Dear Friends, Greetings! I want to create a chart with arrange nodes in pyramid or pascal triangle(from center) pattern. Pls help me to find and place the nodes in right place. I...
View Article