1.3.4 ⢠Published 5 years ago
relatives-tree-jburghes v1.3.4
relatives-tree
Forked by jburghes to add extra functionality
A tiny library (~3.3kb gz) for calculating specific JSON data to family tree nodes and connectors.
š„ Here is a demo app with React rendering.
import relativesTree from 'relatives-tree';
const data = relativesTree(jsonData, rootId);
The nodes & the connectors are simple JS objects, so you can use any rendering layer.
Usage
š ļø Usage example (react-family-tree source code)
š JSON data example