Skip to content

Repository map

diaglam/
├── apps/docs/ this developer documentation app
├── packages/engine/src/
│ ├── layout.ts orchestration spine
│ ├── program/ input schemas and validation
│ ├── family/ plugin contract and registry
│ ├── families/ built-in family definitions
│ ├── contract/ injected capabilities
│ ├── measure/ content → extents
│ ├── place/ extents → positions
│ ├── route/ positions → connectors + labels
│ ├── materialize/ geometry + meaning → NGD elements
│ ├── fit/ framing, title, legend, canvas
│ └── ngd/ output types
├── packages/harness/src/
│ ├── render-svg.ts faithful render orchestration
│ ├── render/ element serializers
│ └── metrics.ts geometry quality gates
├── fixtures/ 661 semantic programs
├── baselines/ reviewed SVG and PNG output
└── docs/ governing spec and in-repo architecture tour

There are no index.ts source barrels. Internal imports name the file that owns the symbol. Each package has one intentionally named public-api.ts for consumers.

Avoid files named helpers.ts or utils.ts. Keep small operations beside the concept they support until a coherent phase can be named and tested on its own.