javascript - cytoscape.js add node in layout breadthfirst -


i start cy (layout=breathfirst) group of nodes , egdes. cy calculate tree-structure well. if add node later, cy placed node on position 0,0. how can inform cy recalculate tree structure?

run breadthfirst layout again: http://js.cytoscape.org/#cy.layout


Comments