MCPcopy Create free account
hub / github.com/liveblocks/liveblocks / getEdge

Method getEdge

packages/liveblocks-react-flow/src/node.ts:58–58  ·  view source on GitHub ↗

Returns a single edge by ID, or `undefined` if not found.

(id: string)

Source from the content-addressed store, hash-verified

56 getNode(id: string): N | undefined;
57 /** Returns a single edge by ID, or `undefined` if not found. */
58 getEdge(id: string): E | undefined;
59
60 /** Adds a node. If a node with the same ID already exists, it is replaced. */
61 addNode(node: N): void;

Callers 3

runFlowchartAgentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected