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

Function moduleFor

ui/src/lib/screens-model.ts:389–404  ·  view source on GitHub ↗
(info: ScreenNodeInfo, symbols: number)

Source from the content-addressed store, hash-verified

387}
388
389function moduleFor(info: ScreenNodeInfo, symbols: number): WireMapModule {
390 return {
391 id: info.id,
392 label: info.label,
393 files: 1,
394 symbols,
395 languages: [],
396 test: false,
397 generated: 0,
398 generatedFiles: [],
399 facade: false,
400 fileList: { total: 1, shown: 1, truncated: false, items: [info.screen?.file ?? info.sub] },
401 // Not the Map: a screen has no dependent count and draws no weight bar.
402 dependents: { files: 0, modules: 0 },
403 };
404}
405
406/** The side panel's two lists for a selected node. */
407export function neighbourhood(

Callers 1

buildScreensModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected