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

Function link

__tests__/ui-map-model.test.ts:53–67  ·  view source on GitHub ↗
(
  source: string,
  target: string,
  count: number,
  declared = count
)

Source from the content-addressed store, hash-verified

51}
52
53function link(
54 source: string,
55 target: string,
56 count: number,
57 declared = count
58): WireMapLink {
59 return {
60 source,
61 target,
62 count,
63 declared,
64 byKind: [{ kind: 'calls', count }],
65 topPairs: [],
66 };
67}
68
69function layerOf(layout: MapLayout, id: string): number {
70 const node = layout.nodes.find((n) => n.id === id);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected