connectionDrop method

bool connectionDrop(
  1. BoundEndpoint source,
  2. DiagramPoint at,
  3. ConnectorRoute route
)

Handles a connection dragged from an existing port onto empty canvas. The preview is cancelled before this callback; a chooser can submit one atomic DiagramController.createConnectedShape edit afterward.

Implementation

bool connectionDrop(
  BoundEndpoint source,
  DiagramPoint at,
  ConnectorRoute route,
) => false;