map_add_node
Add a node to the network diagram with type, name, IP, and position; returns the new node ID.
Instructions
Add a new node to the map. Returns the new node id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Canvas X position (optional) | |
| y | No | Canvas Y position (optional) | |
| ip | No | IP address (optional) | |
| name | Yes | Display name | |
| type | Yes | Node type |