Immutable state in PedigreeSVG
(Copied from !2 (merged))
I currently left this unchanged, but I think it would be really nice to have the LayoutEngine return something like this:
- Member positions:
Immutable.Map<String, Immutable.List>
- Nest positions:
Immutable.Map<Immutable.List<String>, Immutable.List>
Where the maps are indexed as proposed above for the pedigree and the values are the calculated coordinates. This can be combined with props.pedigree
in PedigreeSVG to do the actual drawing.
Should perhaps wait on #1 (closed)