Node object from key (or nodedata)
@llopht wrote: Is this possible to get a node object from a key (or a nodeData). I only found the reverse way (findNodeDataForKey) in the API or a method to return only the key (getKeyForNodeData)....
View ArticleDesired Size is not working in IE11
@prabukit43 wrote: I have my go js JSON like below { "class": "go.GraphLinksModel", "nodeDataArray": [ {"category":"DocImage", "path":"imgSrc", "nodeName":"WI-THT-103190-REVK-A0514-page-001",...
View ArticleAutoComplete Search functionality for Parts BPMN Palette
@mohanr.k wrote: I need to provide auto complete search functionality for parts in BPMN palette As shown below when user types in this field the parts text matching the criteria should be visible and...
View ArticleHow to tweak drag selection behavior to require overlap with main part?
@cfarmerga wrote: Here's a fiddle that shows more or less what I'm trying to accomplish: https://jsfiddle.net/cfarmerga/65sapt4b/2/ I have a panel with three objects laid out vertically. The middle...
View ArticleCreate a new link doesnt hide tooltip
@llopht wrote: It's probably not an issue with little tooltip, but in case where a tooltip is used to show complex info, it can be overflowed by a link dragging. The hideToolTip() method can be use to...
View ArticleBPMN Workflow sample -> Palette parts are not left aligned
@mohanr.k wrote: I implemented a custom palette to show Custom Objects as Data Object but as shown in below screenshot I see lot of empty space on left side. I am not able to figure out what is the...
View ArticleLabel nodes error in Model.toJson
@Dor wrote: Hi, I'm creating label nodes to use on links in the following way, code setup link labels.png1103x280 34.8 KB I also use binding in the link template to bind the "link" property to...
View ArticleHow to Validate Inspector properties
@RiddhiV wrote: is there a way to mandate user to enter a valid value in DataInspector window for any of the node he selects/drags? Also, if the existing diagram is modified, there must be a...
View ArticleLink Inspector
@kingo wrote: As shown, how can you change the thickness of the link?Similarly, can link's strokeDashArray be changed? http://gojs.net/latest/extensions/DebugInspector.html.How is the Inspector in...
View ArticleIs there dash line border for a node?
@Ricecake wrote: Can I set the node's border to dash line? And can I set a single link to dash line with different proportion(like follows)? dash line link: Posts: 2 Participants: 2 Read full topic
View ArticleConditional adornment
@incursus wrote: This is probably fairly simple, but perhaps I've been staring at this for too long! What I'd like to do is something like this: var node = $(go.Node, "Spot", ... ); // If the node is...
View ArticleSelectable: false for Kanban Board groups
@MiniXC wrote: Just a minor issue. In the Kanban Board Example selectable: false is missing for the groupTemplate. This leads to problems when trying to select all nodes using Ctrl + A. Edit: To be...
View ArticleHide context menu item
@idekkers wrote: Hi I have this code: let x = $(go.Adornment, "Vertical", // that has one button $("ContextMenuButton", {name: 'menuItem'}, $(go.TextBlock, "XXX"), { click: function (e, obj) { let...
View ArticleContext menu not working on CustomSubGraphExpanderButton?
@idekkers wrote: Hi again. after creating a CustomSubGraphExpanderButton which is transparent and covers most of a group, the contextMenu is reachable only on the part the button is not covering.the...
View ArticleDragging nodes left to right that re-order diagram and shift child nodes
@rmgoodm wrote: I am looking for guidance or an example where we can select and move a node left to right only and have the child nodes follow.. I think of it almost like snapping... Once a node on...
View ArticleProgramatically placing a node
@incursus wrote: Just trying some more experiments. Trying to place an initial node on the canvas "manually" (i.e. not dragged from the palette area over to the canvas)....
View ArticleSlider component
@alix wrote: Hello, Do you think it's possible to create a slider component with goJS ? Do you have a sample ? Thanks! Franck Posts: 4 Participants: 2 Read full topic
View ArticleHow to put a node always display at TOP RIGHT in diagram?
@mitmit wrote: I created Node at TOP RIGHT. But it's moved when i do zoom out or zoom in.Here is my code for that node: var menuTempl = // $(go.Node, "Auto", // the Shape will go around the whole...
View ArticleStore password in data inspector
@SmilyArora wrote: Hi,I have a field in my data inspector to store password. I've given it's type as password. But it didn't help either, it still shows plain text.Please explain if there is any way...
View ArticleGroup is moved when expand or collapse
@tiepna wrote: Hi, In my diagram, When expand or collapse group then that group is moved a little bit to the left side.Please see the image below to clearly this question:Before collapse:After...
View Article