summaryrefslogtreecommitdiff
path: root/graph/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-02 14:40:54 -0700
committerCliff Click <cliffc@acm.org>2026-10-02 14:40:54 -0700
commitb33647231e20e2dc155beb2c8fe721f952d67a54 (patch)
tree7d28d6b28b4aa519680456e2e47cb4cc48eaf077 /graph/README.md
parent1e2ebb397cbbca1a7d2fd35052c3b90a47bb5733 (diff)
downloadSimple-b33647231e20e2dc155beb2c8fe721f952d67a54.tar.gz
Simple-b33647231e20e2dc155beb2c8fe721f952d67a54.zip
ch10a README
Diffstat (limited to 'graph/README.md')
-rw-r--r--graph/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/graph/README.md b/graph/README.md
index 7479aaf9..f0e32d9d 100644
--- a/graph/README.md
+++ b/graph/README.md
@@ -143,6 +143,19 @@ The chapter `docs/Makefile` rules select JSON before a same-named legacy DOT
file. They accept `PYTHON` and `DOC_BROWSER` overrides, for example
`make -C chapter01/docs PYTHON=python DOC_BROWSER=msedge` from the repository root.
+For a before/after comparison, keep node IDs stable across the two snapshots
+and place their SVGs in a two-column Markdown table:
+
+```markdown
+| Before | After |
+|---|---|
+| ![Before the rewrite](docs/before.svg) | ![After the rewrite](docs/after.svg) |
+```
+
+This keeps both graphs side by side in the chapter README. Chapter 10a's
+[load-after-store example](../chapter10a/README.md#local-memory-optimizations)
+uses this format to isolate a single rewrite.
+
The compact memory-dependency schematics in 10b retain `.gv` sources to
preserve their deliberate horizontal layouts. They use the viewer palette and
node shapes; definitions are left of uses horizontally and above uses vertically,