Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


Need Examples of How to setup family tree

0 votes
I am new to this and would appreciate seeing somewhere an example of creating a familty tree, especially with some initial step explanations.

Thank you
in Help by (300 points)
retagged by

1 Answer

+1 vote

Please read the Family Tree Layout section in the yEd Manual to get a basic understanding of family trees.

In short, family tree needs to be able to classify nodes (i.e. the symbols in your diagram) as one of three types: male, female, or special family marker. This classification is done depending on the color that is chosen for your nodes.

Therefore your first step is deciding on colors. For simplicity's sake lets say the default colors (#ffcc99 for males, #ccccff for females, and #000000 for families) from the family tree layout settings dialog are fine.


The second step is creating some nodes representing the family members.
For each male create a node with fill color #ffcc99, for each female a node with fill color #ccccff.

Add a black node to represent the family.

The third step is specifying parent-child relations. That is done by adding edges (i.e. connections between the symbols of the diagram) that represent the relations in the family. An edge from a family member node to a family node classifies the member as one of the two parents.

An edge from the family node to a family member node classifies the member as one of the children.


As fourth and final step, run the family tree layout algorithm to arrange the diagram.

The above shows the result of the algorithm's default settings except "Minimum Distances" -> "Between Partners" changed to 100.

by [yWorks] (134k points)
Thank you Thomas.behr. I belive I understand what you wrote, though I am not sure (yet) how to use the family tree algorithm. I want to ask you to clarify what you wrote but i don't see a way to upload a file - my example - in this comment. Apparently I'l have to ask a separate question.
Must I use the "black family box"?
Thank you! I did read the "layout" section, but I haven't used flowcharts since back when we did them on paper, lol, and wasn't really sure about the terminology and things. This is MUCH clearer! Family Tree seems limiting ... I'm actually graphing a family for a novel, and may need to add mistresses and their children to a "family", so I may just use a regular "tree" algorithm.
Well written, thanks a lot!
Legal Disclosure | Privacy Policy