get_network_bounds
Retrieve the spatial bounding box and center of all Petri net elements to determine the current layout extent before adding new components.
Instructions
Return the spatial bounding box of all elements in the net.
Use to understand the current layout extent before adding new elements or deciding where to place a new pattern relative to existing ones.
Returns: min_x, max_x — horizontal extent min_y, max_y — vertical extent center_x, center_y — geometric center of all elements width, height — overall canvas span element_count — total places + transitions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |