MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / getClusterKey

Function getClusterKey

graph-ui/src/components/EdgeLines.tsx:20–24  ·  view source on GitHub ↗
(fp?: string)

Source from the content-addressed store, hash-verified

18}
19
20function getClusterKey(fp?: string): string {
21 if (!fp) return "";
22 const parts = fp.split("/");
23 return parts.slice(0, Math.min(2, parts.length)).join("/");
24}
25
26/* Edge type → color (matches the filter panel) */
27const EDGE_TYPE_COLORS: Record<string, string> = {

Callers 1

EdgeLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected