Remove just last transaction from UndoManager history?
@estesbubba wrote: When users turn the grid on and off we don't want that to be part of the undo history. For example when they add nodes and links, then turn on the grid, ctrl-z will turn off the...
View ArticleHow to cancel addnode from palette?
@haohan007008 wrote: From the palette before dragging a node to the Diagram, how to judge the existing node in the Diagram, if present, is not allowed to add it?thanks. i use follow code...
View ArticleResizing Placeholder in a group
@yvarshney wrote: Hi I am not able to resize the Placeholder in a group, can you please tell me how to do that. My group template is given below :- myDiagram.groupTemplateMap.add("OfNodes",...
View ArticleAligning nodes in Palette
@vishal_prabhu81 wrote: Hi, I have a Palette with nodes of various size. I am trying to align the nodes WRT to bottom align however I am having little success. When I set the contentAlignment as...
View ArticleAdding a node to a group after resizing the group
@abhijith wrote: I want to add a node present in a palette into a group in the diagram. The group already contains some nodes. So in order to add the node, I am resizing the group to create some space...
View ArticleChange position of node
@maxchehab wrote: Hey there. I am fairly new to GoJS. How can I change the position of an item in myDiagram.model.nodeDataArray? Thank you for the time. Posts: 4 Participants: 2 Read full topic
View ArticleBPMN message flow link
@Mickey wrote: By default these two message flow links are drawn this way: My question is, how to get this two links to be parallel to each other instead they crossing each other at some point? Posts:...
View ArticleFlipping Images Vertically and Horizontally
@esimmons wrote: Is there a way flip and image in the go.Picture control. I tried experimenting with the CanvasRenderingContext2D object but I cannot seem to apply the results into the picture...
View ArticleIs it possible to add +(Plus) for Zoom In and -(Minus) for Zoom Out to GoJs...
@chinna wrote: Hi Walter, I have a requirement to add two buttons like + and -. if you click on + the diagram will be zoo-In and if - the diagram will be zoo-Out.is it possible? Posts: 3 Participants:...
View ArticleI want to the children are positioned the centre of two parents TreeLayout
@chengwei wrote: i want to change to .when initialing diagram..i try to change TreeLayout.alignment,but not working. Posts: 5 Participants: 2 Read full topic
View ArticleInteractive FlowChart
@Mchugo wrote: Hi all, I'd really appreciate some assistance. I'm looking for anyone who might know how to build a piece of script that is based on decision tree. I want the tree to in a sequence a,bc...
View ArticlePanel does not stretch as per text
@vishal_prabhu81 wrote: Hi, I am trying to have a node which has a image and a text. I want the node to expand when the text is longer. Now it wraps the content and the node takes the width of the...
View ArticleNeeded help to convert PolylineLinking.js to Typescript
@JP wrote: Hi, I am trying to convert http://gojs.net/latest/extensions/PolylineLinkingTool.js to typescript. function PolylineLinkingTool() { go.LinkingTool.call(this); this.name = "PolylineLinking";...
View ArticleRight Mouse Click and Left Mouse Click both Cause Selection Event to Fire
@esimmons wrote: Is there a way to prevent the right mouse click from firing the object selection event, or even selecting an object. We are having issues when we select two groups, and then right...
View ArticleHow to prevent "delete" key?
@MJ wrote: Hello, I want to prevent deleting node from pressing "delete" key . How can I make "delete" key doesn't work? Thanks Posts: 4 Participants: 2 Read full topic
View ArticleGOJS performance
@MateuszAdamus wrote: Hello I am wandering what is the performance of GOJS? What is the biggest number of nodes that this engine can handle?For example, I have a diagram with circa 2000 nodes, some of...
View ArticleDrop Node over Link/Node not with mouse pointer
@JP wrote: Hi, In this example https://gojs.net/latest/samples/flowgrammer.html, the function will be like after dragging a node from palette and It's only possible to drop a link or node if the mouse...
View ArticleHow to configure only one link for shape
@danielt wrote: Hi, I Would like to know how to configure only one link for shape (in / out).I found this prop: formMaxLinks / toMaxLinks. but there are for spot I need for all the shape. Best...
View ArticleCombine diagram and freehand draw
@brendan wrote: Hi, Apologies for a newbie question. I'd like to use the diagram element alongside the freehand draw tool. I took the example from the website and addedd the freehand drawing tool, but...
View ArticleProblem while creating Self Loops
@abhi2434 wrote: I have been trying to create self Loops in GoJS but it is not working. I cannot figure out what exactly the problem is. graph.diagram(go.Shape, "Circle", { fill: "transparent",...
View Article