Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LayeredLayoutTraits.Layer sample (Read 1577 times)
jk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jul 1st, 2010
LayeredLayoutTraits.Layer sample
Jul 1st, 2010 at 11:05am
Print Post  
I need an example how to use

Layout.LayeredLayoutTraits.Layer and
EnableCustomlayers

to assign node to specific layer (different from that which was assigned by layout.Arrange(diagram) to.

  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: LayeredLayoutTraits.Layer sample
Reply #1 - Jul 1st, 2010 at 1:16pm
Print Post  
A small application demonstrated the features of interest can be downloaded from the following link:

https://mindfusion.eu/_samples/_sample_LayeredLayout.zip

To assign custom layers, select the nodes and click any of the buttons 0..N. To clear any previously assigned layers, click 'Clear'. To execute the layout, click 'Layout'. Keep in mind that assigning the same custom layer to adjacent nodes is considered an error and will lead to unexpected results.

Let me know if this works.

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