Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@latticehr/react-org-chart

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticehr/react-org-chart

Simple, high-performance react component for d3 org chart

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
increased by18.92%
Maintainers
1
Weekly downloads
 
Created
Source

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”

FAQs

Package last updated on 17 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc