0.1.11 • Published 2 years ago

@annettepancake/react-org-chart v0.1.11

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

react-org-chart

Features

  • High-performance D3-based SVG rendering
  • Lazy-load children with a custom function
  • Handle up to 1 million collapsed nodes and 5,000 expanded nodes

React Props

propertytypedescriptionexample
treeObjectNested data model with all of the employees in the company (Required){ "id": 123, "person": { "name": "Fouad Matin" }, "children": [] }
nodeWidthNumberWidth of the component for each individual (Optional)180
nodeHeightNumberHeight of the component for each individual (Optional)100
nodeSpacingNumberSpacing between each of the nodes in the chart (Optional)12
animationDurationNumberDuration of the animations in milliseconds (Optional)350
lineTypeStringType of line that connects the nodes to each other (Optional)“angle” “curve”
0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago