MCPcopy Create free account
hub / github.com/esengine/esengine / createId

Method createId

packages/node-editor/src/domain/models/Connection.ts:153–155  ·  view source on GitHub ↗

* Creates a connection ID from pin IDs * 从引脚ID创建连接ID

(fromPinId: string, toPinId: string)

Source from the content-addressed store, hash-verified

151 * 从引脚ID创建连接ID
152 */
153 static createId(fromPinId: string, toPinId: string): string {
154 return `${fromPinId}->${toPinId}`;
155 }
156}

Callers 1

NodeEditorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected