update_style
Update styles for diagrams, elements, or connections in Draw.io. Specify the target type, ID, and style properties like colors, fonts, and borders to apply changes instantly.
Instructions
更新图表、元素或连接的样式
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | 样式更新对象 | |
| target | Yes | 样式目标类型 | |
| target_id | No | 目标元素或连接的ID(当target不是diagram时必需) | |
| diagram_id | Yes | 图表ID |