fisharebest / webtrees

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

Enhancement: support color coding for family trees #4160

Open HonkXL opened 2 years ago

HonkXL commented 2 years ago

Other software (like Legacy and some others) supports color coding for family trees. This means that when browsing through the tree, the persons are color coded and the color shows, from wich part of the family this members are (maternal / paternal).

See image for how this works there.

In webtrees it would be useful to make this as an optional feature. Since webtrees is multi user, it has to be configurable for each logged in user and deactivated for anonymous web access. Think it would be ok to set the "own person" from the user settings as starting person.

grafik

fisharebest commented 2 years ago

I'm not sure how this will work, or how specify the colour for an individual.

What about people whose parents were cousins, were adopted by grandparents, etc.

HonkXL commented 2 years ago

Maybe this could be pre-calculated for the currently logged on user in any way? Maybe with the data in the settings where I can select which individual I am in the tree?

fisharebest commented 2 years ago

The ancestors of an individual can change any time someone makes an edit or changes a privacy setting.

So, we cannot easily pre-calculate this.

An indivdiual can easily have 1000 ancestors - this could make every page very slow.

There are lots of complicated cases. For example:

If you just want colours on the pedigree chart, (as per your original example), then this is practical. But I'm not sure it is very useful.