3.2.0 ā¢ Published 2 years ago
relatives-tree-c v3.2.0
relatives-tree
A tiny library (~3.5 kB gz) for calculating specific JSON data to family tree nodes and connectors.
š„ Here is a demo app with React rendering.
import calcTree from 'relatives-tree';
const tree = calcTree(json, { rootId });
The nodes & the connectors are simple JS objects, so you can use any rendering layer.
Usage
š Canvas example
š ļø React example (react-family-tree source code)
š ļø Solid example
š JSON data examples
3.2.0
2 years ago