How mnichols08/constellation works
Constellation turns GitHub repository data into customizable maps and shareable graphics. The principal Studio flow is username or example input, GitHub-backed repository loading, scene creation and layout, then SVG rendering and export; users can inspect evidence and tune designs along the way. The repository also documents organization maps, temporal comparisons, history/activity, README showcase, CLI and interactive exports. The graph reflects the sampled Studio wiring and documented capabilities; several specialized feature internals are unsampled, so their detailed connections are intentionally omitted.
Main entry points: engine.mjs Studio engine bridge · constellation.mjs Scene creation · main.mjs Studio composition · pipeline-cache.mjs Pipeline cache
Components 25
Studio experience
- Studio composition
src/app/main.mjs - Studio views
src/app/views - Studio engine bridge
src/app/engine.mjs
Data and domain
- GitHub access
src/github-access.mjs - GitHub session
src/github-session.mjs - Organization data
src/organization/data.mjs - Data pipeline
src/data-pipeline.mjs - Data transforms
src/data-transforms.mjs - Pipeline cache
src/pipeline-cache.mjs
Mapping and rendering
- Scene creation
src/constellation.mjs - Graph layout engine
src/engine.mjs - Rust WASM core
src/wasm/constellation_core.js - SVG renderer
src/renderer-svg.mjs - Themes and styling
src/themes.mjs
Exploration features
- Evidence explanations
src/evidence.mjs - Activity and rhythm
src/activity.mjs - History and time-lapse
src/history/historical-snapshot.mjs - Universe comparisons
src/temporal-stack.mjs - Organization maps
src/organization/graph.mjs
Export and access
- Command line
src/cli.mjs - Image and interactive exports
src/export-image.mjs - Web component
packages/web-component/index.mjs - OAuth exchange
auth/github-exchange.mjs
Other components
- Visitor
- GitHub API
Connections 23
- Visitor → Studio composition: opens Studio
README.md - Studio composition → Studio views: mounts views
src/app/main.mjs - Studio composition → Studio engine bridge: dispatches actions
src/app/main.mjs - Studio engine bridge → GitHub session: creates session
src/app/engine.mjs - Studio engine bridge → Scene creation: parses account
src/app/engine.mjs - Studio engine bridge → SVG renderer: renders SVG
src/app/engine.mjs - Studio engine bridge → Evidence explanations: explains node
src/app/engine.mjs - Studio engine bridge → Pipeline cache: creates pipeline
src/app/engine.mjs - GitHub access → GitHub API: requests metadata
- Organization data → GitHub API: requests organization data
src/organization/data.mjs - Pipeline cache → Data pipeline: normalizes records
src/pipeline-cache.mjs - Pipeline cache → Data transforms: applies transforms
src/pipeline-cache.mjs - Scene creation → Graph layout engine: lays out scene
src/constellation.mjs - Graph layout engine → Rust WASM core: computes layout
src/engine.mjs - Scene creation → SVG renderer: renders scene
src/constellation.mjs - Scene creation → Themes and styling: resolves theme
src/constellation.mjs - Visitor → Command line: runs CLI
README.md - Visitor → Organization maps: explores organizations
README.md - Visitor → History and time-lapse: explores history
README.md - Visitor → Universe comparisons: compares projects
README.md - Visitor → Image and interactive exports: requests export
README.md - Visitor → Web component: uses interactive export
README.md - Visitor → OAuth exchange: signs in
README.md