Imports the provided family tree data and returns an array of ClickableNodes.
The graph is constructed from the
links
array of the data
object by default. If no links are found, the parentIds
fields of each person
and union
are used as a fallback. Uses JavaScript's
prototype augmentation feature to add methods to d3-dag
's native node class.
Imports family tree data (declarations see familyTreeData) and converts it into a graph of
ClickableNodes
.