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

Function graphNodeTitle

graph-ui/src/galaxy/node-names.ts:65–68  ·  view source on GitHub ↗
(node: GraphNode)

Source from the content-addressed store, hash-verified

63
64/** The tooltip: the shown name, and for a Branch node what it is and its name in the index. */
65export function graphNodeTitle(node: GraphNode): string {
66 const shown = graphNodeName(node);
67 return branchNodeOf(partsOf(node)) ? galaxyNodeNameText.branchTitle(shown, node.name, node.qualified_name) : shown;
68}
69
70/** The detail line of a Branch node: its name in the index; undefined for every other node. */
71export function graphNodeIndexName(node: GraphNode): string | undefined {

Callers 3

PathPickerFunction · 0.90
node-names.test.tsFile · 0.90
GalaxyNavigatorFunction · 0.90

Calls 3

graphNodeNameFunction · 0.85
branchNodeOfFunction · 0.85
partsOfFunction · 0.85

Tested by

no test coverage detected