Open HonkXL opened 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.
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?
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.
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.