Dynamically choosing TextBlock and Shapes
@abdul.mohamed wrote: I want to choose TextBlock dynamically based on our nodedataarray. For example, diagram.add( (go.Part, "Vertical", (go.TextBlock, { text: “a Text Block” }), //Textblock 1...
View ArticleBind child property in itemtemplate
@sjcatch wrote: I have itemtemplate as below $(go.Panel, "Table", { row: 12, column: 1, margin: new go.Margin(0, 0, 0, 2) }, new go.Binding("itemArray", "comments"), { defaultAlignment: go.Spot.Left,...
View ArticleHow to avoid recersive linking to a node
@ArunPrabhu wrote: I have a scenario only to or from is available for a node. Below picture I wanted to avoid the second link. only from or to can do. I have tried below code but this is not useful...
View ArticleGoJS v2.0.6 go.Picture source base64
@Sami61 wrote: GoJS v2.0.6 go.Picture source base64 error imageSource = base64 return GO(go.Picture, { name: name, source: imageSource, desiredSize: new go.Size(16, 16), alignment: spot,...
View ArticlePlace a node(object) left corner of each row of nodes created with TreeModel
@rahimhaji wrote: Dear Friends, I have created a tree model, when a button clicked, it will add set of nodes as row below each top node. its working fine. After adding row of nodes below the parent, I...
View ArticleAlign textBox in a Rectangle
@Tany wrote: Hi, I’m trying to implement a group template that is consist of Rectangle, will a bell icon floating on top of, overlapping the top rectangular border. The rectangle should consist a...
View ArticleFindObject not available
@mru22 wrote: I was trying to follow the example of using an OrgChartEditor and when I try to call findObject on a go.GraphObject, the function is not on that object. Here is an example import * as go...
View ArticleWhen we call makeSvg links are not showing
@colby wrote: Actual Diagram:- After Creating Svg:- When we use $(go.Shape, { isPanelMain: true, strokeWidth: 1, name: “PIPE”, strokeDashArray: [10, 5] ,stroke: “#004780”}, new go.Binding(“stroke”,...
View ArticleHow to change the adornment on the panel when creating links
@Spark wrote: I want to change the style of adornment when creating links, for example, i want to change the magenta color to blue, how to achieve it? I have read the API doc, but I can’t find the...
View ArticleHow does path perform skew transformation?
@changyu72 wrote: In gois, the path needs to be obliquely transformed. How to do the oblique transformation? It like this picture: 2019-03-29_161832.png945×283 3.49 KB Posts: 1 Participants: 1 Read...
View ArticleTwoWay binding on link's "points" not updated with value when drawing a link
@mlerman wrote: Hello, I have a two-way binding on the points property of a go.Link: new go.Binding("points", "goPoints").makeTwoWay(), It works perfectly well when I reshape the links. However, when...
View ArticleHow to Change the Overview Box border
@PennyK2007 wrote: I am trying to change the border of the overview box from the default magenta. I tried using the directions given in a previous post in 2014, but stroke is no longer an option....
View ArticleAdd Link Adornments to the node
@mwason13 wrote: Can you help me with the function that add length adornment (double arrow headed link) to the node as in Wall in WallParts Palette in FloorPlanner? I tried finding the script that...
View ArticleSelectionDeleting event - Want to ask confirmation before delete
@hunnysharma102 wrote: Trying to cancel SelectionDeleting Event, but event parameter does not have cancel property. Can you please give me an example which can explain how to cancel...
View ArticleHorizontal panel with line breaks on overflow
@matafonoff wrote: Hello! I’d like to create some kind of Tags list for items on GoJS diagram. The main problem - I have fixed width of item on diagram and I don’t know width and number of tags to be...
View ArticleNodeSelectionAdornmentTemplate and nodeHoverAdorment compatibility
@SmilyArora wrote: Hi, I have used 2 things within a same diagram : Node Selection Adornment template image.png1021×147 5.92 KB Node hover adornment : image.png970×668 29.7 KB and in the main diagram...
View ArticleChange thickness and color of particular set of links in treemodel
@rahimhaji wrote: Dear Friends, Please tell me in the below diagram (iam using tree model), https://forum.nwoods.com/uploads/db3963/original/2X/0/074ec7b6f09ade1280234d6d2488f4be455f8d38.jpeg if I...
View ArticleHOw to make nodes starting xy pont from left corner of the node (rectangle)
@rahimhaji wrote: var diagram =$$(go.Diagram, “myDiagramDiv”, Dear Friends, I want to make nodes in left sides to be fixed while scrolling horizontally. iam using below code and making all the nods to...
View Article[SeatingChart]_Structure of guest model
@nmvuong wrote: Dear all, The example shows this: myGuests.model = new go.GraphLinksModel([ { key: "Tyrion Lannister" }, { key: "Daenerys Targaryen", plus: 3 }, // dragons, of course { key: "Hodor" }...
View ArticleIs there any way to load batches of data every few minutes, similar to...
@Lavender wrote: Is there any way to load batches of data every few minutes, similar to window. setTime (function () {}, 1000); Browsers crash because they load too much data at one time Posts: 3...
View Article