create_whiteboard_diagram
Draw a diagram (flowchart, process, dependency graph) on a whiteboard from a semantic graph — nodes, edges, optional groups, NO coordinates: the server does layered top-to-bottom layout with native sizes and returns the created element uids keyed by your node ids. Placed below existing board content. Transactional (all-or-nothing, one realtime event). Max 20 nodes — split bigger flows into two diagrams. Keep shapes plain (rectangle) unless the semantics demand one (diamond = decision, stadium = start/end, cylinder = data store). Edit the result with update_whiteboard_elements — the layout never runs again. Requires a Pro or trial workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | ||
| nodes | Yes | ||
| title | No | Diagram title (frame title, or a heading when groups are used) | |
| groups | No | ||
| origin_x | No | Optional top-left x; defaults below existing content | |
| origin_y | No | Optional top-left y; defaults below existing content | |
| whiteboard_id | Yes | The unique identifier of the whiteboard |