It triggers change detection on every single mousemove event on diagram
@QooQooDaas wrote: Hi, I’m using gojs on drawing a network diagram on Angular framework base project. The problem is that it triggers change detection on every single mousemove event on diagram. So I...
View ArticleUnable to resize the shape
@jothibaskaran wrote: Hi, I am trying to set the width and height to my custom shape. I have the following node structure. const node = $(go.Node, 'Table', { linkConnected: this.updatePort,...
View ArticleGet blank image by makeImageData
@yang wrote: Why I get a blank image? <script src="https://cdnjs.cloudflare.com/ajax/libs/gojs/1.8.7/go.js"></script> <div id="sample"> <div style="width: 100%; display: flex;...
View ArticleHow do we do in gojs
@ahmetgundogdu wrote: As seen in the GIF, there is a space value in the grid lines (Example: 100px), and shapes that indicate it with a pointer appear. And also snap when distances are equal Can you...
View ArticleMove the parts with group while resizing to samller dimension
@Abhishek wrote: Currently when I add a part inside a group, while resizing the group I am able to remove the part outside the group but the binding with group is still in place, but I want that the...
View ArticleBind html div in a diagram
@sibisasvin wrote: Hi, i want to create a click event which whenever the user click the nodes is it possible to bind an html div to the node in that position which is sibling to the diagram div Posts:...
View ArticleHigh contrast support in gojs
@ranjanmicrosoft wrote: When high contrast mode is turned on, the background of the canvas changes but none of the content does. This makes it so it’s impossible to see any black text/content. Posts:...
View ArticleAdding a New Page in the GoJS Diagram
@Joydeep_hi wrote: We are in the process of procuring GoJS license. However, we have a situation, where we need to add a page dynamically at the end of a diagram by clicking a b Page in...
View ArticleLabel always above link
@Dominic.Lerbs wrote: Hi, is there a way to have a label to be always above a link, even if the link goes from right to left? E.g. see this example:...
View ArticleDownloading beta for gojs
@dlee wrote: I’m trying to get the beta but when I go to the https://gojs.net/beta/ the download link below is the github which doesn’t include the 2.1 version. I see we’re suppose to use npm to...
View ArticleGojs link port snap event
@ahmetgundogdu wrote: if you want to change the node background when the other node is snap on the port. How do I do that? test.gif1085×481 148 KB Posts: 2 Participants: 2 Read full topic
View ArticleThe problem of overlapping labels on the side
@Xieguoiang wrote: GoJs version :2.0.8 layout : sankey Hi, The issue is: When there are multiple links in our two nodes, the spacing problem causes my label to overlap. I tried routing:...
View ArticleMap.addAll after upgrade to GoJS 2
@Dominic.Lerbs wrote: Hi, I have upgraded from goJS 1.8 to goJS 2.0.17 and now get a compile error in this code: const templates = new go.Map<string, go.Part>();...
View ArticleGojs temporaryLink
@ahmetgundogdu wrote: temporary Link comes on arrows I want to bring it further draw, as you see in the gif is moving away test.gif1342×639 342 KB I want temporaryLink to be like this. how do i do it?...
View ArticleViewbox CornerRounding
@ahmetgundogdu wrote: In the example I gave the viewbox background red I want it to be Rounded Rectangle. I want to make the borders oval. How can I do? Please review the example....
View ArticleGoJS version 2.0.18
@simon wrote: Changes for 2.0.18 Shapes with a shadow and a Shape.fill value of "transparent" now apply the shadow to the Shape.stroke, instead of the invisible Shape.fill. Minor scrollbar fixes....
View ArticleaddNodeData then findNodeForData results in null
@mcowan wrote: Given the following code, we get lots of inconsistent behavior: diagram.model.addNodeData(data) const node = diagram.findNodeForData(data) // then we edit the node and also set some...
View ArticleDiagram freezing when moving with right mouse button
@ahmetgundogdu wrote: The diagram is freezing when I move it with the right button… What is the reason? test.gif1370×666 1.4 MB Posts: 1 Participants: 1 Read full topic
View ArticleDrag and drop snap grid
@ahmetgundogdu wrote: I want to snap the grid when we hold it off the palette. How can I do? snap when I move. I dont want this. I want to get snap when drag and drop test.gif1759×792 506 KB Posts: 2...
View ArticleDownload SVG without showing it
@zekelynch wrote: Quick question! I know we could save/download the svg/png of the myDiagram, however Could we download SVG/png file without showing it (I mean not generate it on the webpage)? Posts:...
View Article