MCPcopy Create free account
hub / github.com/CheMiguel23/MemoryMesh / createNode

Function createNode

tests/unit/graph/graphValidator.test.ts:8–13  ·  view source on GitHub ↗
(name: string, nodeType: string = 'test')

Source from the content-addressed store, hash-verified

6
7describe('GraphValidator', () => {
8 const createNode = (name: string, nodeType: string = 'test'): Node => ({
9 type: 'node',
10 name,
11 nodeType,
12 metadata: []
13 });
14
15 const createEdge = (from: string, to: string, edgeType: string = 'related'): Edge => ({
16 type: 'edge',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected