19 lines
623 B
Markdown
Raw Normal View History

2026-06-11 15:58:24 +02:00
## Query Plan Viewer
2026-06-11 15:58:24 +02:00
A static HTML viewer for `plan-runner` JSON files (the fixtures).
2026-06-11 15:58:24 +02:00
### Usage
2026-06-11 15:58:24 +02:00
Open [`index.html`](index.html) in a browser, then drop a JSON file from [`crates/plan-runner/fixtures/`](../../crates/plan-runner/fixtures) onto the page.
2026-06-11 15:58:24 +02:00
Alternatively, you can run the commands below to serve the viewer locally:
```sh
2026-06-11 15:58:24 +02:00
make shell # Go into the Nix shells
make viewer
```
2026-06-11 15:58:24 +02:00
Then open the following URL in your browser (replace `two_atom_join.json` with the name of the plan you want to view)
2026-06-11 15:58:24 +02:00
http://localhost:8000/tools/plan-viewer/index.html?fixture=../../crates/plan-runner/fixtures/two_atom_join.json