Binding to location with animation and undo cause change not in trasuction
@uriel wrote: I have the code below when i run the code (with gojs debug) I can see this on the console Change not within a transaction: !d initialContentAlignment: Diagram “godiagram” old: Default...
View ArticleinitialLayoutCompleted
@chenguanglin wrote: myDiagram.addDiagramListener("InitialLayoutCompleted",function(e){ e.diagram.findTreeRoots().each(function(r){r.expandTree(3)}); }) first,this can expand 3 step,then i remove the...
View ArticleOld GoJS go object loaded: 1.8.38. Replaced with version: 1.8.38
@uriel wrote: found the answer, I was trying to use one of the extensions (LinkLabelDraggingTool). which cause this, anyway I could not find a way to use it in my angular application I tried :...
View ArticleSpot Panel within an Auto panel
@Tany wrote: Hi, I have a group template that looks like this : GO(go.Group, "Auto", GO(go.Shape, "Rectangle", // surrounds everything), GO(go.Panel, "Spot", // visible only when collapsed { width:...
View ArticleMultiple non-overlapping link line shapes
@kagey wrote: In reference to the docs (emphasis mine): More than one shape may automatically get the route geometry. This is useful when you want to have multiple link shapes with different...
View ArticleCenter rectangles and textboxes on the sides
@MinDokan wrote: I have the following scenario. I have a rectangle that has dynamic content to one of its sides. The diagram on the left has the ideal data. however when changing the You can see an...
View ArticleAuto save diagram excluding management operations
@uriel wrote: I would like to auto save my diagram, so in order to know if there was a change I am listen to modelChangeEventListener then I can do this let txn = event.object; if (txn != null) time...
View ArticleIs there a way to make resize adornments always visible?
@zhi wrote: I want to make the resize adornment visible all the time so user can resize the node without selecting the node. Is there a way to make resize adornments always visible? Posts: 3...
View ArticleHow to get the license key?
@da wrote: The document says “Our server will generate a GoJS license key for you”. How to get the key?By ajax?What if i use it offline? By the way,where is the love button? Posts: 2 Participants: 2...
View ArticleGetting Exception in gojs library while loading
@k_deepak wrote: Exception_gojs.png1366×768 83.8 KB I am using go 1.8 version and while loading gojs , I am getting the exception but strange thing is that it is happening sometimes, not everytime....
View ArticleGojs drop with kanban
@ap wrote: Hi, I’m working with the kanban example, and I need to read the droppable element (key,text…) … mouseDrop:function(e,grp){ … var ok=grp.addMembers(grp.diagram.selection,true); How can I...
View ArticleError after updating gojs
@no_one345 wrote: i was previously using older go js api i just updated and it gave me errors findTreeParetLink doesnot exists on part Screenshot from 2019-05-13 13-04-32.png943×403 66.1 KB and...
View ArticleHow to find the panel location that is on a link
@uriel wrote: I have the code below, I want to double click on the panel and find the panel location, (i want to open a special form at that place) I use the diagramEvent to find the part and tried to...
View ArticleBest way to maintain area size
@Tany wrote: Hi, If i have go.Picture that its visibility is binded to some data model. When the picture becomes invisible, i want to maintain its area size although invisible. I know of a way of...
View ArticleFromSpot, toSpot in TreeView
@FZSS wrote: Hi, I have a diagram in treeview, I want to have the incoming links to a node to have separate entry points. As direct by this tutorial, I set { fromSpot: go.Spot.LeftSide, toSpot:...
View ArticleHow to implement FlipHorizontal and FlipVertical dynamically?
@colby wrote: How to implement FlipHorizontal and FlipVertical dynamically? We want to implement FlipHorizontal & FlipVertical of image of nodes. How to implement dynamically change flip value? I...
View ArticleUpdate data property in InitialLayoutCompleted
@Dominic.Lerbs wrote: Hi, I am updating a data property in the InitialLayoutCompleted DiagramEvent: diagram.startTransaction("Update nodes' valid property"); diagram.model.setDataProperty(node.data,...
View ArticleIs it possible to make some part unselectable in a group?
@zhi wrote: There’s a group containing nodes but user can only drag the handle to move that group. I didn’t find any example to show such feature. Is it possible to make some part unselectable in a...
View ArticleLayered Digraph with Custom Layers and Bands
@vander wrote: I have a layered digraph with ~350 nodes. It was taking about 3 secs to load previously. However when I overwrote assignLayers and commitLayers my performance dropped to more like 20...
View ArticleaddModelChangedListener not triggered :: GOJS
@senoz wrote: addModelChangedListener is working fine in personal engine (Local server) but not work in my testing server. Its not triggering. How to trigger in all the environment ? What is the...
View Article