CodeMap

tcmts.share.CodeMap · #xh7xbxl5 · interface

The codebase as clouds, for the front page's graph: each definition a dot (tests and files left out), the references between them, and the dots laid out twice: grouped by how they reference each other, and by namespace.

import type { CloudLayout } from "#codebase/tcmts/share";

export interface CodeMap {
  /** each dot: its name, whether it's a type (or class), and where it runs (server, anywhere, browser; "" for a type) */
  dots: { path: string; type: boolean; place: string }[];
  /** the references, two numbers each: the dot that uses, then the dot it uses */
  refs: number[];
  clusters: CloudLayout;
  namespaces: CloudLayout;
}

uses

used by