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

Function nodeOf

__tests__/ui-export-svg.test.ts:466–466  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

464 );
465 const svg = mapSvg(weighted);
466 const nodeOf = (id: string) => weighted.nodes.find((n) => n.id === id)!;
467 // Full bar for the heaviest, a quarter for the module a quarter as leaned
468 // on, and NO rect at all for the one nothing depends on.
469 // The export rounds to a tenth, as every coordinate in this file does.

Callers 2

inIndexOrderMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected