finalizeArrowBindings

fun finalizeArrowBindings(elements: List<Element>, arrowId: String): List<Element>

Attach connector bindings to an arrow: each endpoint binds to the topmost non-arrow/line shape it sits inside, or to null if it sits in empty space. When this call is what FIRST makes the arrow connect both endpoints, it also seeds a default perpendicular bend so the connector reads as a curve rather than overlapping with the straight center-to-center line.