hi all,
I have built a family tree program which thus far allows you to add relationships to nodes (mother, father, partner & siblings). This allows the tree to be built. well at least the links to be made.
My problem is I have to represent the tree textually. This is proving to be very hard. I thought of allowing to display the ancestors and descendants for a particular node but this proves to be difficult, especially when there are more than two generations for displaying ancestors (great grandparents and above).
To make things more clear I thought of using a file tree structure but got into a mess when displaying for great grandparents.
I can provide the source if anyone wants to see it.
Thanks for your time and expertise.
David