How to draw dictionary in the form a family tree structure?

386 views Asked by At

I have used prettytable to print my data that looks like this:data retrieved from GEDCOM file

I have stored it in the form of dictionary where each key is husbandID and values are children ID's and same with wifeID.

I want to draw out a family tree like structure. I do not know how to do it. If anyone can help me how to do it taking a small family as example it will really be useful. Also, I was wondering if dictionary is the right data structure to be used. Thanks!

0

There are 0 answers