'edge' for a node→node edge, 'note-link' for a note→node attachment.
Whether the gesture was click- or drag-to-connect.
Prompt the user for a whole data payload via a modal — a declarative form
(EdgePromptDataOptions.fields) or custom HTML
(EdgePromptDataOptions.render + getValues). Resolves to the collected
object, or null if the user cancelled. Feed it straight into the decision —
e.g. return { accept: true, data: values }. Modal only (no inline variant).
Prompt the user for a label while the connect gesture is still pending, using
either a floating inline input or a modal (per EdgeLabelPromptOptions.mode).
Resolves to the entered string, or null if the user cancelled (Esc / closed).
The shadow-edge preview stays up while it is open. Typically fed back into the
returned decision's data — e.g. return { accept: true, data: { label } }.
The source of the connection — a Node for an edge, a Note for a note-link.
The resolved target node.
Context passed to InterractionCallbacks.onBeforeEdgeCreate.