Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node distance & crossings for FlowLayout (Read 1217 times)
twyfordr
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: May 14th, 2008
Node distance & crossings for FlowLayout
May 14th, 2008 at 2:56pm
Print Post  
When I switch from TreeLayout to FlowLayout, I get a greater distance between nodes and many link crossings that are unnecessary. I am using the same NodeDistance of 5 for both layouts, and for FlowLayout I have VerticalGroupOffset and HorizontalGroupOFfset both set to 10. Any hints for how to decrease this spacing and eliminate the crossings but still use FlowLayout. I think that I need FlowLayout over TreeLayout, b/c a business case came up yesterday of needing 2 parent nodes to 'own' the same group of child nodes (think 'co-manager' on an org chart).

If I could figure out how the Insert Image button on this forum is supposed to work then I'd insert screen caps.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node distance & crossings for FlowLayout
Reply #1 - May 14th, 2008 at 5:36pm
Print Post  
Try LayeredLayout instead of TreeLayout. The FlowLayout class cannot be used out of the box with any chart. It requires a list of rules for the placement of connected items, and it infers what rules to apply by checking the string identifiers assigned to DiagramItem.LayoutTraits[LogicID].

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint