Linkvalidation calling multiple times
@colby wrote: linkvalidation calling multiple times. How to restrict it to actual one? myDiagram.toolManager.linkingTool.linkValidation = linkvalidation; function linkvalidation(fromnode, fromport,...
View ArticleScrolling table not sizing to parent table width
@Roland wrote: I am trying to get a scrolling table to work inside of another table. But when I add the scrolling table inside, I seem unable to get the scrolling table to match the width of its...
View ArticleExport to SVG or PNG
@Nitin304 wrote: I have attached a background image, when I try exporting it to a PNG, the background is getting removed. I am using the makeImage() function of GoJS. Also, the makeSvg() function is...
View ArticleUnable to Bind angle to Custom figure using Geometry string and Shape
@Abhishek wrote: I have “Custom” named object which is the same figure generated using defineFigureGenerator and only by using this object in combination with Shape.geometryString i am able to get...
View ArticleGoJS Version 2.0.12
@simon wrote: Changes for 2.0.12 Fixed a memory leak with internal Picture caching when modifying Panel item arrays. Fixed animation when expanding and collapsing during Diagram load. Drawing fix for...
View ArticleCreate progress bar
@loind-1875 wrote: I creating a progress bar to each node. image.png868×331 8.05 KB And i have created shape Rectangle for pregress bar. // add Rectangle progess (go.Shape, "Rectangle", { width: 180,...
View ArticleHighlighting link along with arrowhead
@AmoghRaghuram wrote: When we click on a link only the link gets highlighted. We needed a functionality where when we click on the link even the arrowhead should get highlighted. Currently that is not...
View ArticleDon't allow node to be dropped above some nodes
@rorystandley wrote: I’m hoping from the screenshot that it will make sense. I have a diagram that is similar to the Kanban example. In the screenshot, you can see that there are two nodes with text...
View ArticleIs there a way to tell if node/part is in Palette or in diagram
@Abhishek wrote: I want to hide selection adornment if in palette and for that i have binded visible property to a function in which we can get that part, but is there any property of that part which...
View ArticleSelect all items within the rectangular box
@AmoghRaghuram wrote: I have been using the dragSelectingTool to drag and create a rectangle to select the items within them. this.diagram.toolManager.dragSelectingTool.box = (go.Part, { layerName:...
View ArticleIs there any event which will tell the completion of rendering of Nodes and...
@mithun wrote: Hi, I am new to GoJs and I need help in solving one of the problems we have. We have a topology map which can have close to 1000 nodes. So, we want to show the user what exactly is...
View ArticleTooltip background color
@FZSS wrote: If I have the following tooltip, how would I be able to change the color of the tooltip background? diagram.toolTip = $("ToolTip", $(go.TextBlock, { margin: 4 }, // use a converter to...
View ArticleMake a object visible only inside one box or Group
@Abhishek wrote: Is it possible to make an object visible only inside the group block and if it is lying half in Group and other half Outside the block then only Block half should be visible. Posts: 5...
View ArticleCanvas scrolling to top of the page on click
@davycoolsaet wrote: I have a canvas which is bigger than my screen (800px) and every time i scoll on the page and click the canvas, my page scrolls to the top of the page. I have already tried to set...
View ArticleHow to Group the links and draw an ellipse around the links
@mithun wrote: I have a requirement of drawing multiple links between same two nodes. And I should be able to draw an ellipse around these links at the center. Something similar to the picture...
View ArticleCan we assign Rect to a Part for its placement and Size
@Abhishek wrote: Hi i am computing intersection of parts and want to highlight the area of intersection. For that i want to create a node at the point of intersection which will highlight the area....
View ArticleHow to place highlighted nodes in the center of the canvas?
@fankeju wrote: hello, I want to know how to automatically adjust the position of the whole diagram and make sure that the highlighted node are always in the center of the canvas. Can anyone give me...
View ArticleSold tip for dashed arrow
@ty wrote: Hi Go.js team! I"m evaluating gojs library for our internal site now. I’d like to make a solid tip for dashed arrow like this: Can you please tell me how to do this? Thanks. Posts: 4...
View ArticlelinkTemplate have one child could not show
@chenguanglin wrote: when the gojs have one child ,the linkTemplate could not show,how to solve this problem,the TreeExpander view ,when have two more children ,the links normal Posts: 3 Participants:...
View ArticleChanging SVG icon color using css or js
@Tany wrote: Hi is it possible to use a single SVG icon for a node, and change its color depending on an attribute, either via js or via css “webkit-mask-image” attribute. currently we need to create...
View Article