Skip to main content

Function: defaultEdgeId()

defaultEdgeId(source, target, sourceHandle?, targetHandle?): string

Default edge id, the scheme the AI draft generator uses. Ids may contain -, so two edges can share a default id (a to b-c and a-b to c); the builder then gives the later edges -2, -3, … in declaration order.

Parameters​

source​

string

target​

string

sourceHandle?​

string

targetHandle?​

string

Returns​

string