OrgChartItem
The basic data type for the data items visualized by the OrgChart component.
Props
Name | Description | Type |
---|---|---|
assistant? | Whether this item is an assistant. Assistants are placed on a separate layer between their superior and their non-assistant subordinates. | boolean |
className? | The optional CSS class name that can be accessed in a custom component that renders the item. | string |
height? | The optional render height of this item. If the height is not specified, it is determined by measuring the item visualization unless a default size is defined by OrgChartProps.nodeSize. | number |
id | The item’s unique id. | OrgChartItemId |
style? | The optional CSS style that can be accessed in a custom component that renders the item. | CSSProperties |
subordinates? | Specifies the subordinates of this item. This array should contain ids of items from the OrgChartProps.data. | OrgChartItemId[] |
width? | The optional render width of this item. If the width is not specified, it is determined by measuring the item visualization unless a default size is defined by OrgChartProps.nodeSize. | number |