Custom selection appearance from Rectangle to Circle
@thanh_ho_lcf_36 wrote: At our project, it have the specific requirement: make the bound when selected is Circle. The default actualBounds: Our expected requirement: Are actualBounds can be modified...
View ArticleGoJs with nextjs and Node. does not work
@snorres wrote: I am trying to use GoJS with Nextjs. The DiagramButttons is shown on the page,but canvas with the diagram does not show. I tried it with nex/dynamic but still does not work. import...
View ArticleGoJS Version 2.0.7
@simon wrote: Changes for 2.0.7 Floorplanner 2.0 - New Floorplanner project (see it here), written in TypeScript, at projects/floorplannerTS. New features include: Wall mitering, with updated...
View ArticleRow index issue with multiple item template
@sjcatch wrote: I have two tables based out on two different itemTemplates, When I get try to row index of second table it gives always 0 instead of actual index. Can you please throw light what is...
View ArticleHow to select a link Programatically
@colby wrote: How to select a link Programmatically? For Node we are using var node = myDiagram.findNodeForKey(key); myDiagram.select(node); What will be the syntax for Links? Posts: 1 Participants: 1...
View ArticleBig data! Partial loading from backend
@vorant wrote: I need to work with big data (more than 150 000 nodes) I’ve already understood how to work with it on frontend part using Virtualization...
View ArticleHow to create custom adornment with the help of dynamic data from an API
@ruth_psychx86 wrote: How to create Adornments depending on the category and name of the Node. If categories is an array of objects which has another set of array of objects this array has the name of...
View ArticleIs there a way to properly log and inspect data returned from an event?
@hitautodestruct wrote: I am trying to inspect data returned from a ObjectSingleClicked event. Specifically I’m trying to understand what I can use from the e.subject parameter to get the exact...
View Article[Seating Chart] - Changing size of Viewbox while dragging
@nmvuong wrote: I know this block of code for size of guest rectangle $(go.Panel, "Viewbox", { desiredSize: new go.Size(50, 38) }, $(go.TextBlock, { margin: 2, desiredSize: new go.Size(55, NaN), font:...
View ArticleMisplaced links after doLayout
@RoWie wrote: Running gojs 2.0 on ubuntu. I’ve modified the ContinuousForceDirectedLayout example as follows: when a node is clicked, the layouter switches and for each node an n.move() is performed...
View ArticleLoaded groups from Json are not loaded to the position they were saved
@Tany wrote: Hi, If i save nodes to Json and load the Json back to the diagram, the nodes are loaded exactly to the position/location they were located when saved to Json. When i group the nodes into...
View ArticleLayout nodes group only once, when the group is created
@Tany wrote: When i create a group, i would like the nodes to be layout, for example CircularLayout. After, the group is created, i would like to avoid auto layout and let the user arrange the nodes...
View ArticleTreeMapping :: fromLinkable for more than 2 groups
@senoz wrote: In GoJs, Could you please give us the soultion for tree mapping. fromLinkable how to allow if its more than 2 groups. Its not allowing to liink… Link is not enabled to connect. Could you...
View ArticleHow to define Node is null
@thanh_ho_lcf_36 wrote: I defined the null Node by this statement (context: Angular): let selectedNode: go.Node = null; The message I see by the VS Code: Type ‘null’ is not assignable to type ‘Node’....
View ArticleA group, when collapsed, does not restore its original location
@Tany wrote: Hi, When I load a a diagram from JSON, and expand one of its group, the group does not restore its original location before it was expanded. See attached pic BEFORE expanding :...
View ArticleLink behavior that I want avoid
@Mickey wrote: In video https://www.icloud.com/iclouddrive/0NJbOL6hvN-H3BcZK0Vai6X9Q#Annoying_links you can see what is happening with link route when some additional shapes are shown on elements. I...
View ArticleCenter diagram after resizing
@jokl wrote: After filling in the diagram model, I run the following code to center the chart: this.diagram.alignDocument(go.Spot.Center, go.Spot.Center); this.diagram.equestUpdate(); How do I align...
View ArticleCreating TreeLayout with Legend, Tree nodes overlapping legend, legend should...
@hunnysharma102 wrote: Hi i have created a TreeLayout, with legend but tree nodes are overlapping on legend check the screen shot below. image.png1886×521 25.5 KB I have also tried to give layers to...
View ArticleHow to choose few component & create a group?
@colby wrote: How to choose few component & create a group? We want choose component and <Ctrl+G> for grouping & <Ctrl+Shift+G> for Ungrouping. Is there any example to create group...
View ArticleTree Mapping :: GO JS :: Border Icon like triangle for linkable
@senoz wrote: We have to show the triangle Icon in border for the all the fields in the tree. Is this possible to do this ? In screenshot I have marked the icons as green. Kindly have a look....
View Article