1.3.4 • Published 5 years ago

relatives-tree-jburghes v1.3.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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

1.3.4

5 years ago

1.3.3

5 years ago