- Welcome, Guest. Please Login or Register
MindFusion  
  Version 2 of our Xamarin Calendar component adds Resource view and support for Universal Windows Platform. Now beta testing spreadsheet component for Java Swing.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Support for Virtualization of a diagram with containerDiagrams.
Read 149 times

Z   Offline
YaBB Newbies
*
Posts: 8
I Love MindFusion!


   
     
 
Support for Virtualization of a diagram with containerDiagrams.
May 8th, 2017 at 1:46pm
 
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
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 979
Gender: male
tech.support


   
     
 
Re: Support for Virtualization of a diagram with containerDiagrams.
Reply #1 - Jun 14th, 2017 at 12:52pm
 
Please find initial support for containers implemented here -
http://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
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print