跳转到内容

canConnectPorts

此内容尚不支持你的语言。

canConnectPorts(graph, catalog, from, fromPort, to, toPort): boolean

Defined in: logic/graphOps.ts:74

Whether a wire may be drawn. Both halves of the answer live here: the ports must exist and their types must meet.

ScriptGraph

ScriptVerbCatalog

string

string

string

string

boolean