I work with genealogy tree and want to create custom edges between two nodes. As an example, I want to redo the family relationship I presented here. The following MWE contains a modified version of the mentioned example tree. This time, however, I want to draw the line not within the genealogy tree package but by adding a custom edge between the two nodes as a tikz command.
\documentclass{article}
\usepackage[all]{genealogytree}
\usepackage{tikz}
\gtrset{Pattern/.style={
template=signpost,
box={colback=black!20!white, no shadow, fontupper=\tiny,
size=small,halign=center,valign=center},
processing = fit,
edges={swing, no background, foreground=black},
level distance=40mm, level 1/.style={further distance=1mm},
level 2/.style={further distance=1mm}
}
}
\begin{document}
\begin{tikzpicture}
\genealogytree[Pattern]{
child{
g[male]{A}
p[female]{B}
child{
g[female]{C}
p[male]{D}
c[male]{E}
}
child{
g[female]{F}
c[male]{G}
}
}
}
\end{tikzpicture}
\end{document}
The document looks like this.
To illustrate what the tree should look like in the end:
pst's solution within the genealogytree package works well. Nevertheless, I would want to implement it just with pure tikz. Is there a way to do it?


