3.2.20 ā€¢ Published 4 months ago

dehimer-relatives-tree v3.2.20

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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.

Contributing

Please read this documentation before contributing.

3.2.20

4 months ago

3.2.19

4 months ago

3.2.18

4 months ago

3.2.17

5 months ago

3.2.15

6 months ago

3.2.14

6 months ago

3.2.13

6 months ago

3.2.12

6 months ago

3.2.11

6 months ago