3.2.0 ā¢ Published 2 years ago
relatives-tree 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
3.1.0
2 years ago
3.0.2
2 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.3.3
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago