Possible Duplicate:
Genogram or family tree with PGF/TikZ
I want to draw a genogram with LaTeX.
I tried to do this with tikz, but since you need to model at least 3 different relations between people (Children, Siblings, Couples), a standard tree model doesn't seem to fit.
Is there an easy way (maybe a template) to draw a genogram? If not, what would be the approach to build an own sub-package or something?
The main problem being the dynamic positioning of elements (depending on the amount of branching) and the previously mentioned three relations.
Edit:
I edited the problem, so it will be more clear of what I'm asking exactly:
Given is the following tree in tikz / usetikzlibrary{trees}:

which is created with:
\newcommand{\per}[1]{\parbox{2.5cm}{#1}}
\tikzstyle{female} = [rectangle, draw, fill=red!20, rounded corners, minimum height=3em]
\tikzstyle{male} = [rectangle, draw, fill=blue!20, minimum height=3em]
\tikzstyle{neutral} = [rectangle, draw, fill=green!20, minimum height=3em]
\begin{tikzpicture}[level distance=4cm]
\node[neutral] {\per{Child}}
[edge from parent fork right,grow=right]
child {
node[female] {\per{Mother}}
child {
node[female] {\per{Mother's mother}}
}
child {
node[male] {\per{Mother's father}}
}
}
child {
node[male] {\per{Father}}
};
\end{tikzpicture}
Now I have two problems:
- I want to add a Sibling to the Child and the Mother for example.
- I want to add a Father's mother and Father's father resp.
How would I do that?
