console.topology/relationship/provider

Topology relationship provider connector extension

Name Value Type Optional Description

provides

CodeRef<RelationshipProviderProvides>

no

Use to determine if a connection can be created between the source and target node

tooltip

string

no

A tooltip to show when connector operation is hovering over the drop target, for example, "Create a Visual Connector"

create

CodeRef<RelationshipProviderCreate>

no

A callback that creates a connection when a connector is dropped onto the target node

priority

number

no

Priority for relationship, higher will be preferred in case of multiple