WeRelate:Suggestions/Color code family tree nodes

Watchers

It would be helpful on the javascript family tree to color code certain nodes according to different attributes. The most obvious attribute to show is which people are part of one of your trees. That way when looking at a family tree, you can quickly see people who overlap (and are related).

For example, in this example, John Cheney would have a slightly different background color, since he is in my "Ancestors" tree, but none of the others are.

Image:suggestion-family-tree-annotation.jpg

I suspect this would be fairly easy as the MyTrees information is already there, just some minor changes to the Javascript.

Perhaps other annotations could be displayed (maybe an indicator of categories, references to other sites (like Wikidata)). Though I think that would require some server side changes to provide this info to the client-side javascript.

I would be interested in working on this, given some spare time and other people's interest.