Files
deer-flow/skills/public/chart-visualization/references/generate_organization_chart.md

21 lines
934 B
Markdown
Raw Normal View History

# generate_organization_chart — 组织架构图
## 功能概述
展示公司、团队或项目的层级关系,并可在节点上描述角色职责。
## 输入字段
### 必填
- `data`: object必填节点至少含 `name`string可选 `description`string子节点通过 `children`array<object>)嵌套,最大深度建议为 3。
### 可选
- `orient`: string默认 `vertical`,可选 `horizontal`/`vertical`
- `style.texture`: string默认 `default`,可选 `default`/`rough`
- `theme`: string默认 `default`,可选 `default`/`academy`/`dark`
- `width`: number默认 `600`
- `height`: number默认 `400`
## 使用建议
节点名称使用岗位/角色,`description` 简要说明职责或人数;若组织较大可拆分多个子图或按部门分批展示。
## 返回结果
- 返回组织架构图 URL并在 `_meta.spec` 保存结构便于日后迭代。