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

Function dashFor

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

Source from the content-addressed store, hash-verified

291
292/** Dash pattern for a link (design spec §3.5). Heuristic wins over uncertain. */
293export function dashFor(edge: WireFlowEdge): string | null {
294 if (edge.synthesized) return '5 3';
295 if (edge.uncertain) return '2 3';
296 return null;
297}
298
299/** The dotted link into an end cap (design spec §3.5). */
300export const END_CAP_DASH = '2 4';

Callers 2

buildFlowLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected