Tree mapper issue in initial layout
@no_one345 wrote: i m musing tree layout as my base diagram the problem is when i first load the diagram it looks like this Screenshot from 2019-09-30 18-21-13.png1043×609 24.4 KB when i scroll around...
View ArticleHow to find link for key
@no_one345 wrote: Screenshot from 2019-10-01 13-46-52.png846×418 46.5 KB i m using find part for key function it returns a node if “key” is also used for both nodes and link how to get just the link...
View ArticleClickCreatingTool not working on a Group
@Abhishek wrote: I did the clickCreating on group like this groupTemplate…… click(e) { if(SD.mode === 'node') e.diagram.toolManager.clickCreatingTool.insertPart(e.documentPoint); }, But...
View ArticleRemoval of adornments
@jothibaskaran wrote: Hi, I have a palette in which I have some highlights on mouseover and click. I want to disable all other default selection adornments. How can I remove the default selection...
View ArticleInsert an element to canvas
@nxhoang wrote: Dear Sir, I want to insert an element like this to canvas. Started time can be editable. End time is based on started time and duration time. Please help me to do this. Thanks in...
View ArticleChanging attribute outside of a transuction
@uriel wrote: I have an application using gojs, there are some operations that I do not want to be part of the undo/redo mechanism. for example I want to highlight nodes that have validation errors,...
View ArticleChange styling of node while dragging
@jothibaskaran wrote: Hi, I have a Border on my palette node onmouseover. This border is implemented with mouseEnter and mouseLeave functions. This is how my palette looks when I drag a node from it:...
View ArticleA Panel showing the summary of the map
@mithun wrote: Hi, We need to show the summary of the Map like the number of Nodes(Different types of Nodes), Links and other details in the map. Could you suggest if there is any right way of doing...
View ArticleLinks inside group
@eyalw wrote: Hi, I have groups which contains shapes inside them, the shapes connected by links. The links are very short, how can I make them longer? It happened to me only inside groups. What can I...
View ArticleGojs rotate object
@ahmetgundogdu wrote: I want to show the rotate icon where I marked it, but I want it to rotate the inside icon. How can I do that? My template: this.diagram.nodeTemplateMap.add("", goMake(go.Node,...
View ArticleGojs ResizeAdornment and SelectionAdornment
@ahmetgundogdu wrote: what is the reason for this space? How to remove this space ? Untitled.png586×620 23.2 KB I want like this My Selection Adornment: const nodeSelectionAdornmentTemplate: any =...
View ArticleLink overlays the text block of nodes in self pointing situation
@QooQooDaas wrote: Environment: Browser(Chrome latest) go.js 2.0.16 Hi, I’ve tried drawing a network diagram using go.js and faced an issue lately that links overlay the text block of nodes in self...
View ArticleControlling the bezier curve
@jothibaskaran wrote: Hi, This is the structure of my links: $(go.Link, { routing: go.Link.AvoidsNodes, curve: go.Link.Bezier, adjusting: go.Link.Stretch, relinkableFrom: true, relinkableTo: true,...
View ArticleDraw the link and deliberately cancel,the TextEditingtool is triggered,...
@saraLis wrote: When we draw the link and deliberately cancel, the TextEditingtool is triggered, hiding the text area.How can I avoid this? “textEditingTool.doActivate”: function() {...
View ArticleOverriding draggingTool.moveParts
@Hochware wrote: Hello! I am struggeling with the following task: In my diagram, it is possible to group objects. This is done by giving each selected element a groupId. I need this grouping for...
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 ArticleUnable to use a string as an argument to GraphObject.make
@Charles wrote: So I have a diagram in my app, and I’m getting errors when I load into it in a a specific way. The error message is “Uncaught Error: Unable to use a string as an argument to...
View ArticleIs there any way to show scroll when zooming in/out the diagram?
@QooQooDaas wrote: Environment: Browser(Chrome latest) go.js 2.0.16 Hi, I’m wondering if there’s any way to show scroll when zooming in/out the diagram. The reason I’m curious about this feature is...
View ArticleContext menu paste
@Nitin304 wrote: When I paste using context menu a node into a group, it should get group details along with it. So, in the context menu paste, I want to know the group details so that I can modify...
View ArticlePicture source always binding
@ahmetgundogdu wrote: I create my own objects with svg. I’m doing this using gojs picture I’m bind to the source of the gojs picture. but here the source is always bind i think this will cause...
View Article