A lightweight, standalone visualizer for bundled Gen3 data dictionaries.
@gen3/dd-parser
— TS library that normalizes a compiled Gen3 dictionary into a simple graph model.@gen3/dd-viz
— React component that renders the graph into SVG.dd-viz-app
— zero-backend Vite app: drag & drop your JSON or load via path.
Node 18+ recommended.
# at repo root
npm install
# build all packages + app
npm run build
# run the app
npm run dev
Open the URL shown by Vite (default is http://localhost:5173).
npm run dev
— launchesapps/dd-viz-app
in dev modenpm run build
— builds parser, viz, and the appnpm run typecheck
— type checks packages and app
- Layout is rendered to SVG for export.
- Modern evergreen browsers only.
Run unit tests:
npm run -w @gen3/dd-parser test
npm run -w @gen3/dd-viz test
This repository includes example Gen3 dictionary JSON files in examples/
:
These can be used to test the parser or to explore the visualization without needing to source your own schema.