3.2.2 • Published 4 months ago

relatives-tree v3.2.2

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

relatives-tree

A tiny library (~3.23 kB br) 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.2

4 months ago

3.2.1

12 months ago

3.2.0

3 years ago

3.1.0

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago