Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ContainerNode virtualization. (Read 4263 times)
Z
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 9th, 2017
ContainerNode virtualization.
Apr 27th, 2017 at 2:00pm
Print Post  
Hi All,

I am testing VirtualizationDiagram ('faster' repleacement for Diagram with a big number of nodes and links). We have two collections there: NodesSource (instead of Nodes) and LinsSource (instead of Links).

In our project we are using ContainerNode (as a nested diagram). Unfortunatelly ContainerDiagram has no 'brother' like: VirtualizationContainerDiagram and there is no NodesSource and LinksSource properties (only Nodes and Links).

What is a correct way of applying VirtualizationDiagram when such diagram contains ContainerNodes (with its own nodes and links)?

Thanks in advance for any advice.

Regards,
Z

  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: ContainerNode virtualization.
Reply #1 - Apr 28th, 2017 at 10:09am
Print Post  
Hi,

Unfortunately VirtualizingDiagram only supports populating it with nodes of uniform type at this time, i.e. you cannot mix ShapeNodes with ContainerNodes (or objects of other types like TableNode). We'll have mixed node types in mind for next release.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Z
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 9th, 2017
Re: ContainerNode virtualization.
Reply #2 - May 8th, 2017 at 12:50pm
Print Post  
Hi Slavcho,

Thank you for your answere.
I have prepared a 'formal' change request here:
http://mindfusion.eu/Forum/YaBB.pl?num=1494247571/0#0

Regards,
Z
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: ContainerNode virtualization.
Reply #3 - May 23rd, 2017 at 3:52am
Print Post  
Hi,

You can find initial support for virtualization with multiple node types here -
https://mindfusion.eu/_samples/virtualize_multtypes.zip



It does nothing special for containers at this time, you can connect them to child nodes in NodeRealized handler as shown in the sample project. We'll try to implement some built-in support for that later.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Z
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 9th, 2017
Re: ContainerNode virtualization.
Reply #4 - Jul 18th, 2017 at 6:57am
Print Post  
Hi,

Thank you for the initial support of the virtualizaiton of multiple node types.

In our case ContainerNodes might be quite big, let say several ContainerNodes in the Diagram with hundreds (or even thousands) of nodes/links insde one ContainerNode. It means that ContainerNode can be much bigger than the visible diagram placeholder on the screen.

What we would expect is that 'nested nodes' (nodes inside the ContainerNode) should be 'virtualized' as well (should be realized/materialized during scrolling). It is not enough to load all nested nodes at once into ContainerNode when ContainerNode is realized.

Is such behavior possible/planned for the next release?

Best regards,
Z
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: ContainerNode virtualization.
Reply #5 - Jul 18th, 2017 at 10:03am
Print Post  
Hi,

The new version should be supporting this, please try the beta build here -
https://mindfusion.eu/Forum/YaBB.pl?num=1499340861

Best regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint