I guess, like you suggested, if needed i can save only the model nodes/links of individual container and load all these before displaying OR save a full diagram.
I modified the sample with resizing containers nodes and restrict child nodes insider the container.
As of now, Initial loaded view not showing child nodes insider container. Will work on that.
The other two issues i face are
-
In joined view only I can resize container nodes and not in individual views.
This should be possible, because i want to resize the container and then add new child nodes when individual container is shown. -
In joined view, whenever container node is resized, the whole diagram perform the layout again.
Any way to prevent that ? Not sure as of now whether i need this because then whole diagram layout also needs to be preserved and loaded next time again.