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

Function restLabels

ui/src/lib/screens-model.ts:771–771  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

769 // picture); a SET labels only those lines (the tree, where the arms of a
770 // decision are the one thing worth saying before anything is selected).
771 const restLabels = (id: string): boolean => (atRest === true ? true : atRest !== false && atRest.has(id));
772 const anyAtRest = atRest === true || (atRest !== false && atRest.size > 0);
773 if (selected === null && !anyAtRest) return { pills, hidden: 0 };
774 const nodes = new Map(model.layout.nodes.map((n) => [n.id, n]));

Callers 1

placeLabelsFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected