Render an existing scene
render_sceneAfter editing scene elements, render the scene to display the updated diagram. Use this as the final step to show changes.
Instructions
Render a stored scene and show it to the user.
USE THIS after a batch of add_element / update_element / remove_element / group_elements calls, to display the updated diagram. It is the last step of every edit.
This never changes the scene - it only draws what is currently in it. For a brand new diagram use render_diagram instead, which builds and shows it in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Id of the scene to work on, as returned by render_diagram or create_scene. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | The rendered SVG markup. | |
| error | No | Present only when success is false. | |
| title | No | ||
| width | No | ||
| format | No | ||
| height | No | ||
| svgUrl | No | Stable link to the rendered SVG, when deployed. | |
| sceneId | No | ||
| success | Yes | ||
| elementCount | No |