How can I get the TextBlock's "text" value after edit?
@kid_freak wrote: I want to get the new Value in textBlock after my editing . But when I use this way image.png872x933 45.6 KB I found the key not change. Whatever How I edit node text,my JSON still...
View ArticleObtaining information from a links connected node after it's deleted
@GSA wrote: I currently need to obtain information about a node when it's deleted, as well as from the nodes connected to a link when the link is deleted. I have the following code:...
View ArticleAngular 'this' reference undefined within Set function each
@dev wrote: I'm able to handle diagram events of objects dropped, and extract the data from the node model from the palette that is copied over to the diagram via console.log. When I try to call a...
View ArticleDisable tooltip on palette
@marin wrote: Is it possible to disable tooltips on palette? Posts: 3 Participants: 2 Read full topic
View ArticleUnable to add link
@Raminaidu wrote: Hi, I wrote a custom property based on which the no. of inputs of the node changes.When i give the property value as 3 then the no.of inputs ports changes to 3. The problem here is...
View ArticleAdd arrow heads to a PathFigure
@catface wrote: hi, would it be possible to add arrow heads to a shape that uses a PathFigure geometry? said shape being in a node template... not a link template. or... what would be the easiest way...
View ArticleLinkDataArray and To/From spot
@marco.az wrote: Hi, I'am having problems in saving and reloading correctly my links.I am using the LinkShiftingTools to adjust the from and to spot In diagram events listener I have in place the...
View ArticleSingle Parent Scenario in genogram sample
@Riyaz wrote: No provision to add a single parent - child relation.So far i have been able to add this, but when i add such relation where mother and father are same for child(no biological mother)...
View ArticleFind Links in Node
@virence wrote: Wanna ask is that any function to find the links available in node? i was trying to do e.subject.fromNode.findLinksConnected() which only shows the iterator only. can I get the link...
View ArticleBug(?) in RemoveNodeData function
@satowine wrote: Hi!I think there is a bug in the RemoveNodeData function... I'll try to do this:-Parse nodeDataArray-Delete all nodes with key != 0 (there is only a node with this key)But i need to...
View ArticleCan you set model data property to the key of the created node?
@GSA wrote: For example, I have this nodedataarray for my palette: palette.model.nodeDataArray = [ { category: EquipmentNodeType.CAMERA, id: "0", nodeType: EquipmentNodeType.CAMERA, text: "Kamera" },...
View ArticleMultiselect and drag creates copy of selected nodes
@sharmaDevashish1 wrote: if we select multiple nodes and drag the selection. it creates a copy of the selected nodes rather then dragging them around.how can we disable this. Thanks Posts: 2...
View ArticleExpanding a Leaf node of Incremental Tree overlaps new nodes on the existing...
@phreq wrote: I created an Incremental Tree as: `var $ = go.GraphObject.make; // for conciseness in defining templates myDiagram = $(go.Diagram, "myTreeDiv", // must name or refer to the DIV HTML...
View ArticleHow to redraw/visually update a node without triggering a complete redraw of...
@GSA wrote: I have the following functions: function refreshText(xhr, status, args) { updateNodeText(args.key, args.newText); save(); } function updateNodeText(key, newText){ var nodeData =...
View ArticleCustom link and nodes
@marco.az wrote: In my application user can modify the link shape thanks to LinkShifthing and SnapLinkReshaping tools but I noticed that the specified points are considered only if the node isn't...
View ArticleError:Maximum call stack size exceeded
@YogeshMohan wrote: I am getting this error everytime i rebind my diagram div Uncaught RangeError: Maximum call stack size exceeded at V.M.replaceJsonObjects.M.ku (eval at globalEval...
View ArticleCustom Adornment size
@catface wrote: hi, not sure what I'm doing wrong here... but I'm trying to show a rectangle around steps... by doing this: const $GO = go.GraphObject.make; const adorn =...
View ArticleDynamically adding node data array
@Alpheus wrote: Hi there, I need help on how to add node data array from json string when trying with the code below i get: this[(palettes[i].PaletteName + palettes[i].Id.toString(...))].addNodeData...
View ArticleGoJS version 1.8.9
@walter wrote: Fixed a bug in Diagram.findObjectsNear in Table Panels using TableRow and TableColumn panels. Fixed a drawing bug where some GraphObjects with a background set would be shadowed, when...
View ArticleHow to align nodes in a palette
@GSA wrote: I have a palette with nodes like this: I'd like to center align the nodes, how would I go about doing this? The initial palette code is like this: var palette = $(go.Palette, "palette", {...
View Article