Drag nodes - dimensioning links error
Hey guys, I am having a small issue with dimensioning links. Let’s suppose we have 1 node, with a dimensioning link from the top left to the top right, everything is rendered correctly. When I’m...
View ArticleUnable to drag 'Button' extension in Canvas or Palette
I have use Shape ‘Button’ and used $(‘Button’) to get the button into palette and canvas, But when i try to drag it doActivate is not getting called. 4 posts - 2 participants Read full topic
View ArticleHow to changeLink Routing and Curve based on the flow positions
Hi, I’m trying to implement the following UI. The idea is I want to use the following properties for my link: curve: go.Curve.Bezier routing: go.Routing.Normal However, if such link crosses the nodes...
View ArticleCurviness property doesn't work
I’m trying to make links more curved. However, as far as I see, curviness property is not respected. I’m using the following code const $ = go.GraphObject.make const diagram = $(go.Diagram,...
View ArticleGojs version 2+ alternate code (validCycle:...
my diagram not accept validCycle: go.Diagram.CycleMode.DestinationTree please give me alternate option in gojs version 2.3.17 2 posts - 2 participants Read full topic
View ArticleReact- onModelChange for Merging Data
Hello, I’m running into initialization issues trying to use GoJS within a React based wrapper component when opening saved data. When opening existing diagrams, we add our node and link data to the...
View ArticleSpace around label on the link
I’m trying to implement the following design. I need to have label on the link. And connection should not go through text, it should not be visible around the label. How can I achieve it? 3 posts - 2...
View ArticleColor is not consistent for border and background when changing opacity
I’m trying to reduce opacity of not selected steps to draw attention to the selected one. The only problem I face — not consistent border and background colors when applying opacity. Both of them have...
View ArticleA part that looks and works like a sticky note
Hey walter, below is a template of a GOJS PArt which should more or less look and work like a sticky note. however, as u can see in the screenshot , the textblock is overflowing outside of the...
View ArticleModel update issues after 3.x upgrade
Hi Team, We are currently using the following code to dynamically update the palette with new nodes. This approach used to work as expected in the older GoJS version (2.3.5):...
View ArticleCan the GoJS UndoManager be saved?
Can the GoJS UndoManager be saved so that it can be used again for undo and redo after loading the model next time? 2 posts - 2 participants Read full topic
View ArticleAuto scrolling during dragging or linking when cursor beyond the gojs canvas
I know that go.js supports auto scrolling while the mouse (pointer) is held during dragging or linking or drag-selecting. However, is it possible to implement auto scrolling while the cursor is...
View ArticleGOJS diagram listener runs twice in my react project
As you can see here model.ts file log has repeated twice which is present in the “linkdrawn” listener. None of the other listeners are running twice… Thanks guys! 2 posts - 2 participants Read full...
View ArticleApply gray scale filter to not selected nodes and connections
Hi, We want to deemphasize not selected nodes. We’ve tried to reduce opacity, however due to issue discussed here it doesn’t look exactly as we want. So, we want to try a different approach — make...
View ArticleDiagram Event Listener with LocalStorageCommandHandler
Hello! Previously in my code, I had an event listener for when the ClipboardChanged, which worked as expected: diagram.addDiagramListener('ClipboardChanged', e => { console.log("clipboard: ",...
View ArticleWith enterprise license, can all the extensions be used?
We have an enterprise licensing for GoJS. Would like to know can we use any kind of extensions that are provided by gojs in github extensions. Are there any extensions which can cause any legal issues...
View ArticleDistance between links
Is it possible to specify distance between lines when they are in vertical position. Currently, line labels overlaps. I’m using the following settings: routing: go.Routing.AvoidsNodes,...
View ArticleMake label on the link be either vertical or horizontal only
Hi, I’m trying to figure out whether it is possible to position label on the link either horizontally or vertically. I’m trying to avoid following situation. My label is inside go.Panel with the...
View ArticleSimple Tree Navigation Using Arrow Keys
Hi @walter, I have a few questions regarding the accessibility navigation in the structured diagram. The overall navigation seems to be working fine, and I see that we’re relying on...
View ArticleExpand subtree only to next level and collapse all level and save the state...
Hi, I have a requirement where i have to display the root node and it’s immediate child all the nodes will have expander button and child will also have multiple levels. On click of button i want to...
View ArticleDot based grid becomes dashed
I’m trying to implement a dot-based grid, similar to what other services use. I implement grid in the following way: new go.Panel("Grid") .add( new go.Shape("LineH", { strokeWidth: 1, strokeDashArray:...
View ArticleAdornment mislaignment issue
import * as go from "gojs"; import { getFillColor } from "./template-utils"; const $ = go.GraphObject.make; export const circleAnimationAdornment = (state = "default") => { const $ =...
View ArticleHow to implement 20x20 dot-based grid
I’m trying to implement dot-based grid how it is shown in the following example gojs.net Grid Patterns However, I get unnecessary dots between the ones that I need. I’m using the following code. new...
View ArticleHorizontal Line alignment issues inside a group
Hello, I’m currently trying to create a shelf using GoJS and I ran into some problems regarding groups and the alignement of shapes within them. I want to align a horizontal line at the starting...
View ArticleCustom geometry with different filling on PathFigures
Hello, I’m trying to represent a custom geometry within a Shape go Element, like this: new go.Shape({ name: 'SHAPE', strokeWidth: 3, stroke: 'black', fill: 'lightblue', }).bind('geometry', 'shape',...
View Article