create_node_with_icon
Create a labeled shape with an icon above the text for scientific diagram nodes. Customize icon name, label, position, shape, and colors.
Instructions
Create a labeled shape with an icon inside — perfect for scientific diagram nodes. The icon is placed above the text label within the shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| label | Yes | Node label text | |
| width | No | Node width (default 160) | |
| height | No | Node height (default 80) | |
| font_name | No | ||
| icon_name | Yes | IconPark icon name | |
| text_size | No | ||
| fill_color | No | ||
| icon_color | No | Icon color as hex | |
| shape_type | No | Shape type (default "RoundedRectangle") | |
| text_color | No | ||
| corner_radius | No |