patch_drawing
Update diagram labels, node details, or partial styles by ID without resending geometry; read the element first and pass expectedRevision.
Instructions
Patch labels, node detail or partial styles by ID without resending geometry. Example patches:[{id:"api",label:"Core API",style:{fill:"#d3e1f5"}}]. Read the selected element first and pass expectedRevision. seed/sketch:null inherit document values; style owned labels using their labelId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| patches | Yes | ||
| preview | No | ||
| includeSource | No | ||
| expectedRevision | Yes |