Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Gojs.net -> samples -> DOM Tree : Update Graph after new elements are insert

$
0
0

@d22935 wrote:

Hi I use this example to visualize my HTML DOM Tree: https://gojs.net/latest/samples/DOMTree.html

I dynamically insert new

elements with JQuery and I need a way to update the DOM Tree graph.

if I just call theinit() function again I get the error Invalid div id; div already has a Diagram associated with it.

Is there an easy way to update the whole diagram ?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles