MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / view

Function view

graph-ui/src/pseudocode/flow-diagram.test.ts:34–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32const HERE = dirname(fileURLToPath(import.meta.url));
33
34function view(): FlowView {
35 const closure = JSON.parse(readFileSync(
36 join(HERE, '__fixtures__', 'closure-userService-create.json'),
37 'utf8',
38 )) as ClosureDocument;
39 const ir = (name: string): SemanticIR => JSON.parse(readFileSync(
40 join(HERE, '..', 'twin', '__fixtures__', `ir-${name}.json`),
41 'utf8',
42 )) as SemanticIR;
43 return buildFlowView({
44 closure,
45 irs: [ir('userService-create'), ir('createUser'), ir('listUsers'), ir('validateUser'), ir('insert')],
46 });
47}
48
49describe('das Sequenzdiagramm als Geometrie', () => {
50 const flow = view();

Callers 1

Calls 2

buildFlowViewFunction · 0.90
irFunction · 0.70

Tested by

no test coverage detected