Basic Family Use Case - m0smith/topoged GitHub Wiki
The most basic functionality as it applies to a family includes:
- Create a pedigree chart
- Get the family group sheet data for an individual
Basic assumptions
- A parent can have 0 or more children
- A child can have 0 or more Parents. The :order attribute determines which is the father (0) and mother (1). Other values are supported but have no semantic meaning.
- All edges will have a :preferred flag that will indicate the default path through the graph.
Use Case 1: Pedigree Chart
A pedigree chart requires an Individual iand returns a seq of Individuals. The first element is the "father" and the second is the mother. If either of them is not known, a nil will be in that place. If more elements are returned, they are ignored.
The gremlin query will be something like: g.v(i).inE('child').outV('birth').outE('parent')