@kaia @chjara I used to write family tree visualization software, sorry this reply is not funny.
If there are 2^n ancestors at each generation, you don’t need to go back very many generations before there would be more ancestors than there were people alive, so some ancestors have to show up in multiple branches.
In general, biological pedigrees are a DAG, although if you allow adoption or messy real-world data entry, they can be cyclic as well