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

Function kidsOf

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

Source from the content-addressed store, hash-verified

832 // apart. Under a cluster the same line is one line long.
833 const ids = new Set(region.members.map((m) => m.id));
834 const kidsOf = (id: string): string[] => (childrenOf.get(id) ?? []).filter((k) => ids.has(k));
835 const starts = region.members.filter((m) => (parentsOf.get(m.id) ?? []).length === 0).map((m) => m.id);
836
837 /** Lay the region out with its lines allowed to run this wide. */

Callers 2

placeFunction · 0.85
layAtFunction · 0.85

Calls 2

hasMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected