Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering the complete family tree #84

Open
johnjohndoe opened this issue Feb 13, 2022 · 7 comments
Open

Rendering the complete family tree #84

johnjohndoe opened this issue Feb 13, 2022 · 7 comments

Comments

@johnjohndoe
Copy link

I am looking for a way to render the complete family tree of my project. It contains about 200 people. At the moment the ancestors of one person are rendered - depending on which person has been selected. Is there a ways to unhide both branches e.g. the ancestor branch of the mother and the ancestor branch of the father?

I would also be comfortable to modify the source code temporarily if you could point me to the relevant code part.

@PeWu
Copy link
Owner

PeWu commented Feb 15, 2022

I don't think I understand the problem.

When you select a person, both their ancestors and the ancestor of their spouse are shown.
See this link for example:
https://pewu.github.io/topola-viewer/#/view?gen=0&indi=I0001&url=https%3A%2F%2Fwebtreeprint.com%2Ftp_downloader.php%3Fpath%3Dfamous_gedcoms%2Fshakespeare.ged
Selecting either William Shakespeare or Anne Hathaway shows ancestors of both of them.

You can try selecting "All relatives" from the "View" menu to see more in one chart.

@johnjohndoe
Copy link
Author

Selecting "All relatives" shows much more - but not all. I try to explain it based on your example.

Given your example John Shakespeare and Mary Arden would have been married another time each. In these relationships new descendants have been created. When you select either William Shakespeare or Anne Hathaway they won't be shown. You would need to select either John Shakespeare or Mary Arden which hides other parts of the tree.

@PeWu
Copy link
Owner

PeWu commented Feb 16, 2022

Please have a look at PeWu/topola#30
It might be the same problem that you are seeing. It is something that can definitely be improved.

If you'd like to have a go at changing the code then this is the file that needs to be modified:
https://github.com/PeWu/topola/blob/master/src/relatives-chart.ts
If you need help understanding what is happening there, I can help.

@johnjohndoe
Copy link
Author

I should be able to create an example GEDCOM file to show the case. Would that be helpful?
I am not sure if I will be able to understand the implementation in a reasonable time.

@desmo907
Copy link

I am a newbie. Installed this add-on and note that it only renders part of my family tree. It only starts with the great grandparents on my father's side. The mother's side (great grandparents) are missing. I do see this it shows my grand father on the right side of the chart. I think he was the first data entry I made with an ID of 1000. So i wonder if this feature keys off of him and thus only starts with his father and not show the parents of his wife (my grandmothers)? I don't see a way to indicate where to start the tree... the feature just runs it. Thanks.

@czifumasa
Copy link
Contributor

@desmo907 I am not sure if I understand your problem correctly, but you can use a search feature in top menu to select "you" as a main person for tree rendering. Then you should see all your ancestors and descendants.

Tree is always rendered for the first person of the Gedcom file. In Gramps, it's the first person you entered into database with person Id "I0000".

@desmo907
Copy link

Thanks... I think I wrote this in the wrong forum. The feature I meant to comment on was Interactive Family Tree add-on. I did post in the discourse forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants