From a6de74c7f0ddd82008e1bcd81c4bbe101053e868 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Thu, 11 Jun 2026 16:07:47 +0200 Subject: [PATCH] WIP --- tools/plan-viewer/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/plan-viewer/README.md b/tools/plan-viewer/README.md index 72b4fef..334e2c1 100644 --- a/tools/plan-viewer/README.md +++ b/tools/plan-viewer/README.md @@ -5,3 +5,13 @@ A static HTML viewer for `plan-runner` JSON files (the fixtures). ### Usage 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. + +Alternatively, you can run the commands below to serve the viewer locally: + +```sh +make viewer +``` + +Then open the following URL in your browser (replace `two_atom_join.json` with the name of the plan you want to view) + +http://localhost:8000/tools/plan-viewer/index.html?fixture=../../crates/plan-runner/fixtures/two_atom_join.json