generate_flow_diagram
Create flow diagrams to visualize process steps and decision points for linear scenarios. Input node and edge data to generate structured charts.
Instructions
Generate a flow diagram chart to show the steps and decision points of a process or system, such as, scenarios requiring linear process presentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data for flow diagram chart, such as, { nodes: [{ name: 'node1' }, { name: 'node2' }], edges: [{ source: 'node1', target: 'node2', name: 'edge1' }] }. | |
| style | No | Style configuration for the chart with a JSON object, optional. | |
| theme | No | Set the theme for the chart, optional, default is 'default'. | default |
| width | No | Set the width of chart, default is 600. | |
| height | No | Set the height of chart, default is 400. |