Manage annotation
manage_annotationCreate annotation boxes, set comments on operators, list annotations, and find operators enclosed by a box to document and clarify networks.
Instructions
Self-document a network: create a titled annotation box, set an op's comment, list the annotations/comments in a network, or list the ops a box geometrically encloses. Makes generated networks legible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 'create' a titled annotation box, 'comment' to set an op's comment, 'list' the annotations in a network, or 'enclosed' to list the ops a box geometrically encloses. | |
| parent_path | No | (create/list) The network (COMP) to act in. | /project1 |
| text | No | (create) The title/text shown on the box; (comment) the comment string to set. | |
| name | No | (create) Name for the annotation COMP (defaults to 'anno'). | |
| node_path | No | (comment) The op to comment on; (enclosed) the annotation box whose enclosed ops to list. | |
| x | No | (create) Node-space X position for the box's left edge. | |
| y | No | (create) Node-space Y position for the box's top edge. | |
| w | No | (create) Node-space width of the box. | |
| h | No | (create) Node-space height of the box. |