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

Method isHttpEdge

frontend/src/cache.ts:1079–1079  ·  view source on GitHub ↗
(label?: string)

Source from the content-addressed store, hash-verified

1077 // Phase 3: Handle remaining orphans by creating new workflows for disconnected subgraphs
1078 // HTTP edges (labeled with [METHOD /path]) are used by webview for layout merging
1079 const isHttpEdge = (label?: string) => label && /^\s*\[?\s*(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS)\s/.test(label);
1080
1081 // Find any remaining orphan nodes (not in any workflow) and create workflows for their connected components
1082 const stillOrphaned = nodes.filter(n => !nodeToWf.has(n.id));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected