How to get node html element?
@chzh.austin wrote: I am working on a feature which will show a auto complete dropdown list when typing the node name. I need a way to get the generated dom element of each node so that I can bind my...
View ArticleForce resort on a grid layout
@taigi100 wrote: Hello, I'm building a bit from the BPMN example. I created a custom palette with some of my own nodes and a sorting function. Thing is, when an externalobject is dropped I want the...
View ArticleIs it possible to have nested diagrams within a diagram in GoJS?
@sheraz104 wrote: My requirement is to have multiple panels in a single diagram and these panels behave just like individual diagrams. Like, I can create a tree structure of nodes inside a single...
View ArticleGoJS version 1.7.3
@walter wrote: Changes for 1.7.3 Added the angular2-minimal project, in the projects subdirectory. This is a copy of the Angular 2 Quick Start example,...
View ArticleLinks rerouting when shape hasn't changed
@Doogal wrote: Hi We have a shape with a textbox external to it. We have set the ...ObjectName properties to the shape so all links connect to the shape rather than the Node. If the user edits the...
View ArticleHow to Add a property value from a node to the linkData?
@pistolShrimp wrote: Hi, I have a property in a node as "Category" with different values. When a link is formed from that block, i want the category information to be there in the linkData as well....
View ArticleImage and links are not getting dispalyed ..please help to spot error
@supp wrote: <div id="sample"> <span style="display: inline-block; vertical-align: top; width:60%"> <div id="myDiagramDiv" style="border: solid 1px black; height: 520px"></div>...
View ArticleLinkingTool.temporaryLink and Bindings
@catface wrote: hi, if I do this: goDiagram.toolManager.linkingTool.archetypeLinkData = { label: pathName };goDiagram.toolManager.linkingTool.temporaryLink =...
View ArticlefindObjectsIn used in computePoints
@Doogal wrote: We have a custom link class that attempts to draw straight lines when possible but falls back to the standard implementation when there is an object in the way. So we use findObjectIn...
View ArticleUsing data binding and conversion function with arrays
@Dominic.Lerbs wrote: Hi, I'll try to explain my question through an example.Let's assume I have the following nodeData entry: { category: "defaultNode", name: "abc", parameters: [{ p1: "eee", p2:...
View ArticleHow to automatic focus TextBlock when a new node is created?
@sheraz104 wrote: When a create a new Node, I give it the focus its isSelected property to true, However, I also want to make a textblock on it already focused when a new Node is created. I tried...
View ArticlePrevent the diagram from expanding
@bresc wrote: Hello I was wondering if there is a way to set a fixed size to a diagram because, it keeps expanding whenever there is not enough space or it passes the diagram boundaries Posts: 2...
View ArticleHow to expand node's size dynamically when the text in its textBlock is being...
@sheraz104 wrote: I want to dynamically expand/shrink the size of Node depending upon the length of characters being entered in the textBlock of Node. Currently when I focus textblock, an HTML kind of...
View ArticleStrange behaviour of layout : LayeredDigraphLayout
@piotr.b wrote: Hello! I have a pretty strange problem with layout. I'm trying to create the simple graph with the root node which has two children. And the last nodes of each branch have the same...
View Articlediagram.computePixelRatio?
@turnert wrote: The drag and drop HTML Palette sample has a reference to diagram.computePixelRatio(). However, this method is not exposed in go.d.ts (just updated to 1.7.3 to verify). Has this method...
View ArticleGoJS Diagram Fails to Initialize when myDiagram Div is Nested in an Angular...
@johnknelson wrote: I noticed after modifying my HTML where my Go diagram lives, I was receiving many "Change not within a transaction" errors and the diagram never "initialized" with GoJS...
View ArticleCan you verify that the minimalblob sample is working?
@cbh wrote: I have tried the http://gojs.net/latest/samples/minimalBlob.html sample I have tried all windows browsers and the blob parameter is null. I am thinking that there is a problem in the go.js...
View ArticleCreating a shape in a fixed postion in order to make drag & drop
@hanahemw wrote: Hello, I am making a diagram editor (with a grid), and I'd like to set some shapes on a grid, that couldn't be moved, having a fixed position relativily to the diagram zone, not the...
View ArticleClearing the clipboard
@Mickey wrote: I've been searching for answer on forum and documentation but did not had success. Therefor I'm here to ask for the answer. I need to limit clipboard pasting on one action only. After...
View ArticleGojs bug or I miss something
@Mickey wrote: I'm using latest GoJS 1.7.3 version of library. To prevent users to have ability to copy, cut, paste in diagram I used thisin diagram declaration: "commandHandler.canCopySelection":...
View Article