@Yamasan wrote:
Hello.
I'm using virtualizedForceLayout sample. I made a little change for it. Instead of Loading data when init happens, I have a html button to fire load function when clicked. And i also changed load function like this:
function load() { generateNodes(myWholeModel, 1234, 1234); generateLinks(myWholeModel, 1, 5); myDiagram.layoutDiagram(true); }It didn't work well. Some nodes had no links and error happend:
Uncaught TypeError: Cannot read property 'ensureBounds' of null
Please tell me why, thanks.
Posts: 1
Participants: 1