fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
456 stars 298 forks source link

Produce large format pdf tree. #1067

Open billthefarmer opened 8 years ago

billthefarmer commented 8 years ago

This appears to be a feature that is missing, to produce a large format pdf file of the whole tree that can be printed out and hung on the wall. I have had a go at it as a stand alone utility, see https://github.com/billthefarmer/gpdf. However the code uses a text file to lay out the tree. A development of the interactive tree feature might do the job.

fisharebest commented 8 years ago

pdf file of the whole tree

I don't believe this is possible, except for small/trivial trees.

You can draw subsets of this (ancestors of X or descendants of Y), but I can't imagine how you would draw everyone.

billthefarmer commented 8 years ago

It depends, as you say, on the complexity of the tree, but I think it should be possible to attempt an algorithm. It would be a combination of recursion and iteration using a set of rules, such as:

The algorithm would run iteratively making adjustments until either the problem it is found to be insoluble or an iteration finds no changes to make.

An enhancement to make following families easier, have a extra slot vertical gap between different families in each generation.

arjanvs commented 7 years ago

How did gramps solved this?

billthefarmer commented 7 years ago

I just had a look. there's a plugin Family Tree that does something similar, but it doesn't look like it handles offshoots and things like that. I tried gramps at the time, it wouldn't import our data from webtrees correctly.

arjanvs commented 7 years ago

For me it does import correctly. It makes nice relationship charts. Sometimes a bit to large ;)

billthefarmer commented 7 years ago

Well, it was a while ago and we were just trying it out to see what it could do without much luck.

sevtor commented 7 months ago

I have a new report module 'family_tree' that is ready to be included when PR #4945 is included! This report module can produce up to size A2, fairly easy to add even bigger formats if wanted.