Trigger mouse events only within the geometry definition
@jude wrote: I've created a custom Shape, whose shape is actually defined by a geometry definition, such as the following: var shape = $$(go.Shape, { stroke: colours.white, strokeWidth: 2,...
View ArticleDraw unconnected links
@darioschmidt wrote: Hi, I am getting an error when I try to create an unconnected link The diagram configuration is private createDiagram(): go.Diagram { return $(go.Diagram, 'diagram-div', {...
View ArticleIs there a way to change the cursor while a node is being dragged?
@Hesh wrote: I am unable to find an example or documentation to specify the cursor, while a node or group member is being dragged. This also seems to be the case for a new link being drawn, or an...
View ArticleHow to prevent multiple nodes at same location?
@kenai wrote: Thank you so much dear Simon. I understood that problem. But now I have one more problem can you solve it? I'm using grid layout https://gojs.net/latest/intro/grids.html. Problem is...
View ArticleMaintain constant Padding of Diagram.Panel across all zoom levels
@Ranjith_Rajendran wrote: Hi, I have to maintain constant 5-pixel padding of Diagram.Panel across all zoom levels of diagram.In our earlier discussion for different requirement, forum.nwoods.com...
View ArticleSelect Node after Some time interval
@YogeshMohan wrote: hey i have two things to ask ,1) Is there any way to dynamically add multiple nodes to another node without reloading the graph.2) who can i dynamically highlight or change color...
View ArticleHow to prevent start pan on a special node
@AndyP wrote: Hi,is there a way to disallow pan mode only when starting to pan on a special node? Posts: 3 Participants: 2 Read full topic
View ArticleDraw with the mouse illustrator style
@mariomeraz wrote: it is possible to use the library Figures.js to draw only the circle and define the size using the mousedownclic event, some small example. Thks Posts: 7 Participants: 2 Read full...
View ArticleFormat Text in Node
@itsjustcarlos wrote: Is it possible to format the text in a node to have table? We have 4 points of data, we'd like to that them in a table format, and then color code them dynamically based on the...
View ArticleIs it possible to prevent drop anywhere on diagram?
@marin wrote: I was wondering if there is a way to prevent a drop from palette to a diagram that includes preventing to drop a node on another node. I saw that the diagram mouseDrop event is called...
View ArticleMove the Box in the Overview panel from other controls
@Ranjith_Rajendran wrote: Hi,I would like to move(all four directional Up,Down,Right and Left) the box specified in the Overview from the controls declared outside the overview panel. Is there a way?...
View ArticleDiagram.selection empty on MouseDragOver
@marin wrote: I'm trying to use mouseDragOver function on the diagram in order to change the cursor... However, the diagram.selection is empty (I need to know which parts are being dragged).Should...
View Articlemodel.addChangedListener behavior
@Hesh wrote: In the following code, the model is changed, plus a model.addChangedListener is being registered to detect any subsequent changes made by user actions. I want the callback function,...
View ArticleGantt-like chart with timeline?
@nitin291989 wrote: Is it possible to have a diagram which looks like this: image.png1228x152 7.11 KB Thanks. Posts: 5 Participants: 2 Read full topic
View ArticleMultiple Node and group templates
@nitin291989 wrote: How can we have multiple Node and Group Templates in the same diagram? Posts: 2 Participants: 2 Read full topic
View ArticleLimitations for load data in gojs diagram
@YogeshMohan wrote: Hey ,Is there any limitations for loading data[node] in diagram model,because on adding 400 nodes data in diagram model my browser get hanged and an unresponsive script popup...
View ArticlesegmentFraction not working
@jude wrote: Following the docs here, the blue circle should've been towards the "to" node. However, it's sticking to the "from" node: Here's my link template: myDiagram.linkTemplate = $$(go.Link,...
View ArticleAnimation: Transform a node from one shape to another
@jude wrote: My project involves a palette and a canvas. I drag a node from the palette to canvas (GoJS diagram). Everything works well. For the same category of node, I have two layout templates -...
View ArticleShow dimesion of object
@Ab06100 wrote: Floor Planner_dimension.png 1840×951 .png1840x951 76.3 KB How to show dimension of object/node similar to the wall parts as shown in image Posts: 1 Participants: 1 Read full topic
View ArticleTight Coupling of node & link
@k_deepak wrote: While setting some properties on one node , I am creating the child of that node and I want to keep parent node & child node relation so tight that no one can change/move that...
View Article