I've gone by the example code for the organizational chart and I have everything working except for when you open or close the children nodes I can't get it to re-do the layout - like when "Layout After Expand/Collapse" checkbox is checked in the demo.
What part makes that work? I didn't set up a Router view model - do I need one?
The problem that I find with the demos sometimes is that they do TOO much. Simple examples are much easier to follow, but I can't find one that explains everything you need to have the layout update when nodes are added/removed... everything is laid out fine when it loads, but the nodes never move...
What part makes that work? I didn't set up a Router view model - do I need one?
The problem that I find with the demos sometimes is that they do TOO much. Simple examples are much easier to follow, but I can't find one that explains everything you need to have the layout update when nodes are added/removed... everything is laid out fine when it loads, but the nodes never move...