Using 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 ArticleGoJS Aurelia Sample
@turnert wrote: I've created a sample project that demonstrates how one could use GoJS and Aurelia together, leveraging the power of both systems. Do with it what you will. Thanks. Posts: 2...
View ArticleHow can I insert "img" to json format
@danny wrote: Hi, I have problem when I want to insert "img" tag into "Diagram Model saved in JSON format".Use http://gojs.net/latest/samples/pageflow.html for example:The original example look like...
View ArticleLanes over lapping each other
@Gowrishankar wrote: Hi Folks - I did some modification in gojs swimlane (i.e) i need to put swimlane name in top of the lanes - But, when i add second swimlane its overlapping the first swimlane...
View ArticleNode and Group are not align together
@Tany wrote: Hi,I'm trying to align a node and a group side by side, namely to have the same Y coordinate, set to zero.On both, node and group templates, i use the bind to location and i set the loc...
View ArticlePerformance in Firefox 45.6.0
@mohsamini wrote: Hello,I’m trying to test GoJS samples.I found out that it's very slowly in Firefox!? (specially in http://gojs.net/latest/samples/updateDemo.html)Could you give me some details? Best...
View ArticleIs there a way to find the sibling of a node programmatically?
@sheraz104 wrote: The issue I'm facing is that when a node is deleted, the diagram stays still and if we delete all the nodes in viewport then the nodes outside the viewport remains hidden. Currently...
View ArticleLeft and right trim in the label text of link
@yscho wrote: I want to be displayed a space character on the left and right of label text on link.In other words, I do not want to left and right trim in label text on link.what's the best way?...
View ArticleSelction and Keyborad event
@David wrote: I have some questions. How to know if an objects are selected. I want to run the thread if the object is selected, and if not I want to terminate the thread. Is there any event about...
View ArticleChildren alignment
@bravo2 wrote: Hi, I have follow diagram:How I can make all children to be in the center, like this:This my xaml: <go:Diagram x:Name="myDiagram" Margin="10" AllowCopy="True" AllowDelete="True"...
View Article