Interactive dependency graph viewer for the goga ecosystem.
Visualizes cell dependency graphs as a single-page web application with hierarchical layout and click-to-inspect details. Includes a CODEMANIFEST viewer — click the "CODEMANIFEST" link in the info panel to view the raw YAML manifest for any cell.
Documentation: qarium.github.io/goga-tool-viewer
pip install goga-tool-viewerRequires Python 3.10+. No external runtime dependencies.
Run from a JSON file:
goga tool viewer path/to/schema.jsonOr pipe data via stdin:
goga schema | goga tool viewerThe tool prints a URL (e.g. http://localhost:PORT). Open it in a browser to see the interactive graph.
Once started, the HTTP server exposes:
| Endpoint | Description |
|---|---|
GET / |
Single-page application with the graph viewer |
GET /api/graph |
JSON data for the dependency graph |
GET /api/codemanifest?cell=<path> |
CODEMANIFEST file content for a cell (text/plain, 200/400/404) |
goga-tool-viewer is designed as a tool plugin for the goga CLI:
goga tool viewer data.jsonIt can also be used as a Python library:
from goga_tool_viewer import main
main(["path/to/data.json"]) # from file
main([]) # from stdinSet up the environment:
python -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"Run tests:
pytestLint and format:
ruff check
ruff format