Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Support for Virtualization of a diagram with containerDiagrams. (Read 4143 times)
Z
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 9th, 2017
Support for Virtualization of a diagram with containerDiagrams.
May 8th, 2017 at 12:46pm
Print Post  
Diagraming -> WPF.

As a dev I would like to be able to use VirtulaizationDiagram where such diagram contains different types (Nodes and ContainerNodes). Virtualization should take into account Nodes placed inside ContainerNode.

More details here:
http://mindfusion.eu/Forum/YaBB.pl?num=1493301652
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Support for Virtualization of a diagram with containerDiagrams.
Reply #1 - Jun 14th, 2017 at 11:52am
Print Post  
Please find initial support for containers implemented here -
https://mindfusion.eu/_beta/virtualize_containers.zip

VirtualizingDiagram looks for a Container property in data items, referring to another data item. If the container item has been realized as a ContainerNode, the child node will be placed inside it. If it has been realized as another node type, the child node will be attached using AttachTo method. Alternative to using data_item.Container property is implementing a ResolveContainer callback -

public delegate object ResolveContainer(object dataItem);

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint