MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / edgeKey

Function edgeKey

frontend/src/webview-client/graph-diff.ts:15–15  ·  view source on GitHub ↗
(e: WorkflowEdge)

Source from the content-addressed store, hash-verified

13 const newNodeMap = new Map(newGraph.nodes.map(n => [n.id, n]));
14
15 const edgeKey = (e: WorkflowEdge) => `${e.source}->${e.target}`;
16 const oldEdgeMap = new Map(oldGraph.edges.map(e => [edgeKey(e), e]));
17 const newEdgeMap = new Map(newGraph.edges.map(e => [edgeKey(e), e]));
18

Callers 2

mergeCrossFileEdgesMethod · 0.85
computeGraphDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected