Git Product home page Git Product logo

genealogical-trees's Issues

uncles and aunts not always colored

Great demonstration, so nice!

I have been playing with the example tree

If I understand the coloured legend, when you hover a person, this should happen to his/her close relatives:

  • brothers, sisters and cousins should change their color to red (#f00)
  • uncles and aunts should change their color to violet (#90c)
  • grandparents should change their color to blue (#06f)

When I hover Ekaterina Ivanovna Romanova, this happens:

  • RED: sister (Anna Ivanovna Romanova) and cousins (Elizaveta Petrovna Romanova plus her 2 brother & sister)
  • BLUE: grandparent (Aleksej Mihajlovich Romanov)
  • VIOLET: uncles/aunts, but only 2 of them: Fedor Alekseevich Romanov & Sofja Aleksevna Romanova. For some reason, their brother Petr I Alekseevich Romanov does not change its colour!

Now I try with her cousin. When I hover Elizaveta Petrovna Romanova, this happens:

  • RED: correct as above (her 2 brother & sister, plus her 2 cousins)
  • BLUE: same grandparent as above
  • VIOLET: nobody!! Although she has 3 uncles/aunts in the tree (same 2 as above, plus Ivan V Alekseevich Romanov, father of her cousin Ekaterina Ivanovna Romanova)

So VIOLET is not always being applied.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.