3.2.2 ⢠Published 4 months ago
relatives-tree v3.2.2
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