Skip to main content

Interface: EdgeSpec

An incoming edge with options.

Extends​

Properties​

data?​

optional data?: JsonObject

Inherited from​

EdgeOptions.data


extra?​

optional extra?: JsonObject

Other edge fields, copied verbatim.

Inherited from​

EdgeOptions.extra


from​

readonly from: EdgeSource


id?​

optional id?: string | false

Edge id. Default: e-<source>-<target>[-<sourceHandle>][-<targetHandle>], with -2, -3, … added in declaration order when that id is already taken; false writes none.

Inherited from​

EdgeOptions.id


kind​

readonly kind: "edge"


label?​

optional label?: string

Inherited from​

EdgeOptions.label


mapping?​

optional mapping?: JsonObject

Legacy ${…} edge mapping, kept verbatim.

Inherited from​

EdgeOptions.mapping


targetHandle?​

optional targetHandle?: string

Inherited from​

EdgeOptions.targetHandle


type?​

optional type?: string | false

Edge type. Default deletable (what the canvas writes); false writes none.

Inherited from​

EdgeOptions.type