generate_organization_chart
Visualize organizational hierarchies by creating structured organization charts. Input hierarchical data to display relationships like CEO and direct reports, with customizable orientation, style, and theme options.
Instructions
Generate an organization chart to visualize the hierarchical structure of an organization, such as, a diagram showing the relationship between a CEO and their direct reports.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Data for organization chart which is a hierarchical structure, such as, { name: 'CEO', description: 'Chief Executive Officer', children: [{ name: 'CTO', description: 'Chief Technology Officer', children: [{ name: 'Dev Manager', description: 'Development Manager' }] }] }, and the maximum depth is 3. | |
height | No | Set the height of chart, default is 400. | |
orient | No | Orientation of the organization chart, either horizontal or vertical. Default is vertical, when the level of the chart is more than 3, it is recommended to use horizontal orientation. | vertical |
style | No | Custom style configuration for the chart. | |
theme | No | Set the theme for the chart, optional, default is 'default'. | default |
width | No | Set the width of chart, default is 600. |