工具 API
generate_ organization_ chart
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.
调用信息
- 工具标识
- chart.generate_organization_chart
- 服务提供方
- 图表生成
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
data必填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.
orientOrientation 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.
styleCustom style configuration for the chart.
themeSet the theme for the chart, optional, default is 'default'.
widthSet the width of chart, default is 600.
heightSet the height of chart, default is 400.