MagnaView Community Forum Index MagnaView Community
Forum for MagnaView users
 
 NewsletterNewsletter  FAQFAQ   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

FAQ ID 1043- How do I create a tree with diagonal branches?

 
Post new topic   Reply to topic    MagnaView Community Forum Index -> Example projects
View previous topic :: View next topic  
Author Message
alwinroijen
Site Admin


Joined: 26 Nov 2007
Posts: 62

PostPosted: Mon May 05, 2008 8:31 am    Post subject: FAQ ID 1043- How do I create a tree with diagonal branches? Reply with quote

Question: How do I create a tree with diagonal branches?

Download project file: FAQ ID 1043

Download data-file: Tree lines data

Answer: Use data which can be divided into several levels. Then use the slice-and-dice division method and use a line overlay to create the tree view.

A. Set layout
- Goto Edit View (F9);
- Select the Hair-level, and select the ‘Layout’ tab;
- From the dropdown menu Division-method select Slice-and-Dice;
- Set the division-direction to vertical;
- Select the ‘Margin’ tab;
- Set the top margin to 75;
- Repeat the previous four steps for the rest of the levels (including the Tiles-level)
level)
The foundation for the tree view is build.

B. Set the size of the tiles
- Goto Edit View (F9);
- Select the Hair-level, and select the ‘Tiles’ tab;
- From the dropdown menu Size-Type select Sum of Children;
- Repeat the previous two steps for the rest of the levels (excluding the Tiles-level)

C. A line overlay needs to be created
- Goto Edit View;
- Select the Hair-level, and select the Overlay tab;
- Add a line overlay via ‘Add’;
- Choose ‘Straight Line’ from the dropdown menu Type – Line Type;
- Choose ‘Line to Parents’ from the dropdown menu Type – Connection Type;
- Under Start Position, choose Center for Position X and Top for Position Y;
- Choose the same settings for the End Position;
- Set ‘Show overlay on’ on Always.
A tree with diagonal branches is created

Note that the style (color / thickness) of the line can be adjusted under Style.

In order to create a view without color, all background colors need to be set white. It is also possible to use different colors for each value of a level. This is described in step D.

D. Use variable background
- Goto Edit View (F9);
- Select the Hair-level, and select the Margins tab;
- Check the box of ‘Use variable background’;
- From the dropdown menu ‘Color using:’ select a map created for this level, in this case ‘Hair (map)’;
- Repeat the previous step for the rest of the levels.
The background color of the levels is set to variable
Note that the values of each level have a different color. At the bottom of the screen one can see which value is found for each element.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    MagnaView Community Forum Index -> Example projects All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group