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

Method initGraph

frontend/src/webview.ts:518–523  ·  view source on GitHub ↗

* Initialize graph after file picker closes (for cached data)

(graph: WorkflowGraph)

Source from the content-addressed store, hash-verified

516 * Initialize graph after file picker closes (for cached data)
517 */
518 initGraph(graph: WorkflowGraph) {
519 this.postMessage({
520 command: 'initGraph',
521 graph
522 });
523 }
524
525 /**
526 * Clear the graph completely (used when cache is cleared before reanalysis)

Callers 2

activateFunction · 0.95
analyzeWorkspaceFunction · 0.80

Calls 1

postMessageMethod · 0.95

Tested by

no test coverage detected