MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / lineLabelFor

Function lineLabelFor

ui/src/lib/flow-model.ts:331–333  ·  view source on GitHub ↗
(edge: WireFlowEdge)

Source from the content-addressed store, hash-verified

329
330/** `line 2029`, or null when the edge carries no line. */
331export function lineLabelFor(edge: WireFlowEdge): string | null {
332 return typeof edge.line === 'number' && edge.line > 0 ? `line ${edge.line}` : null;
333}
334
335/**
336 * Lay out the union of `flows`, highlighting `activeId`.

Callers 2

buildFlowLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected