MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage / deleteGraph

Function deleteGraph

src/core/tools/graph.ts:140–147  ·  view source on GitHub ↗
(gateway: GatewayClient, id: string)

Source from the content-addressed store, hash-verified

138 props: replaceRuleScope(node.props || {}, variableScope) as Record<string, unknown>,
139 }));
140
141 processedNodes.splice(0, processedNodes.length, ...arrangeNodes(processedNodes).nodes as typeof processedNodes);
142
143 const graph = {
144 id: graphId,
145 nodes: processedNodes,
146 cfg: {
147 id: graphId,
148 enable: input.enable ?? true,
149 uiType: 'graph',
150 userData: {

Callers 2

createCoreToolsFunction · 0.90
registerGraphToolsFunction · 0.85

Calls 1

callApiMethod · 0.45

Tested by

no test coverage detected