Add an adornment by default to a template
@jude wrote: I've got two node templates, A and B.I've registered these two node templates with the diagram as follows: var templateMap = new go.Map("string", go.Node); templateMap.add("A",...
View ArticleRemove text when dragged from the palette to the canvas。
@MaggieFanqi wrote: This is an element of my palette.When I drag it into a canvas, I need to get rid of the description. What should I do. Posts: 2 Participants: 2 Read full topic
View ArticleShow dimension to dragged object in floor planner
@ash wrote: Is it possible to show the dimensions to the dragged objects in "Floorplanner" as of in "DimensioningLink"...if yes can u please send me some examples for the same....?...
View ArticleHow to change position and order Nodes for Assistants
@vorant wrote: Hello,I took an example of adding Assistants from your site ( https://gojs.net/latest/samples/orgChartAssistants.html )I need to change alignment and ordering for this.1) Alignment When...
View ArticleCreate Port that is slightly larger and behind its Node
@Hesh wrote: I would like to create a Node from which the user can create links by dragging. However, I do not want to create separate ports, nor do I not want the user to have to start drag from the...
View ArticleOpen Div on click of a node & update db with AJAX
@itsjustcarlos wrote: Using the orgChatStatic, I'd like to be able to double click a node and have it launch into an iframe. Basically, onclick pass the id(key) to my other jquery/javascript to open a...
View ArticleZoom to height
@Ranjith_Rajendran wrote: Hi,Like Zoom to Fit, is there a way to implement Zoom to height? Thanks in Advance. Posts: 1 Participants: 1 Read full topic
View ArticleHow to check OnChange AddedNode comes from copy or paste
@AndyP wrote: HI,In the override of DiagramModel.OnChange I get ModelChangedEventArgs,AddedNode on copy and on paste with the same e.Data.How can I determine if the OnChange is coming from Copy or...
View ArticleDynamically adding name to a link
@sagar wrote: Hi, I am using a linking tool to create a new link between nodes. I used the following link for inspiration - https://gojs.net/latest/api/symbols/linkingTool.html. I am drawing a link...
View ArticleslimScroll
@kenai wrote: Hello dears, I want to use jQuery slimScroll in my canvas instead of default scrollbar. image.png1290x166 4.48 KB I tried lot of times but I'm still failed. I think GoJS automatically...
View ArticleSelect options in Inspector
@miguelrmoure wrote: Hi, I`m trying to add a select input into Inspector and array of values, for example: var inspector = new Inspector('myInfo', myDiagram, { properties: { "list": {type: "select"} }...
View ArticleMerging Links
@deer1209 wrote: gojs.png2016x1134 40.7 KB HiMy diagram is using TreeLayout, it has four layers leftmost as root and rightmost as leaves.I want to have some links on the first level nodes so I added...
View ArticleAbout touch screen devices
@gehaollt wrote: Hello, I've had a problem lately. Touch screen devices,For example, this instance: https://gojs.net/latest/samples/flowchart.htmlWhen I drag the element in the diagram,if the fingers...
View ArticleDouble Click on nodes in diagram not working with IE surface in tablet mode
@panirudh wrote: I have a diagram with number of nodes, on double click the node will open a modal in normal scenario. This is not working with surface in tablet mode. Double click doesn't have any...
View ArticleDrag Unoccupied
@Ab06100 wrote: how we can implement this(https://gojs.net/latest/samples/dragUnoccupied.html) with floor planner palette.i tried doing so but it gives Rect is not defined var $ = go.GraphObject.make;...
View ArticleProblem with snap to grid
@marco.az wrote: Hi, I am adding a 'snap to grid' functionality to my diagram and, following documentation and samples, I have activated the grid as the following grid: $(go.Panel, "Grid", {...
View ArticleCtrl + left key down on selection
@xyan3 wrote: Hi GoJS experts, Did I miss something in GoJS documentation? If you do 1. Press "Ctrl" Key,2.Use left mouse down select a node or a group of nodes, don't release the mouse.3. Then move...
View ArticleTextBlock makes extra paddings
@vorant wrote: Very long strings make extra paddings to TextBlock http://plnkr.co/edit/AQP1WAKkeWi7ILBmbQRH?p=preview Posts: 1 Participants: 1 Read full topic
View ArticleUnable to set Start/Sweep angles for figure Pie
@jude wrote: I'm looking at the Pie figure defined here: https://gojs.net/latest/extensions/Figures.js. I've been looking for a way to specify the start angle and sweep angle for the Pie figure....
View ArticleThe problem that is shifting of link
@nakyuz wrote: Hi, I have a big problem. The problem is happened sometimes. It is not deterministic. So i cant solve. The problem is that when i refresh the diagram model (F5 page), Although the...
View Article