connect
Draw arrows or lines between Inkscape elements that remain attached when objects move or layouts change; set routing, labels, arrows, and gaps.
Instructions
Draw arrows/lines between elements that stay attached when things move (align/layout/ update_elements/page_fit). Default: native Inkscape connectors — clipped to the real shape (circles etc.) and still live in the Inkscape GUI. With from_side/to_side/via you control the route (e.g. a loop diagram: {"from": "condenser", "to": "valve", "from_side": "left", "to_side": "top", "routing": "elbow"}); those attach at the middle of the chosen side of the bounding box, as do connectors with start_gap/end_gap. Returns the connector ids, their layers, label ids and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| preview | No | ||
| connections | Yes |