Module: components/Canvas/Canvas

The main workspace of the AutoRA Workflow Editor. Renders the pannable/zoomable canvas that hosts workflow nodes and the SVG connections between them, and handles drag-and-drop node creation, panning, zooming, selection, and port-to-port connecting.
Source:

Methods

(inner) Canvas() → {JSX.Element}

Renders the interactive workflow canvas, including all nodes, connections, and the live zoom/node/connection info overlay. Wires up drop, pan, zoom, click-to-deselect, and connection-creation interactions against the shared workflow state.
Source:
Returns:
Type
JSX.Element