@benportner/js_family_tree
    Preparing search index...

    Class FamilyTreeDataV1Importer

    Imports family tree data (declarations see familyTreeData) and converts it into a graph of ClickableNodes.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • 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.

      Parameters

      Returns ClickableNode[]