Skip to content

@eightkk/vue-weave / core / GraphConnectionChecker

Interface: GraphConnectionChecker ​

Defined in: src/core/graphPortRules.ts:82

Checks built once over a graph and its rules; see createGraphConnectionChecker.

Methods ​

check() ​

check(connection, replacingEdgeId?): GraphConnectionCheck

Defined in: src/core/graphPortRules.ts:84

Same as checkGraphConnection on the graph the checker was built for.

Parameters ​

connection ​

GraphConnection

replacingEdgeId? ​

string

Returns ​

GraphConnectionCheck


targets() ​

targets(origin, replacingEdgeId?): GraphConnectionTargets

Defined in: src/core/graphPortRules.ts:86

Same as graphConnectionTargets on the graph the checker was built for.

Parameters ​

origin ​

GraphConnectionOrigin

replacingEdgeId? ​

string

Returns ​

GraphConnectionTargets

Released under the MIT License.