#!/usr/bin/env python3 """Generate a self-contained interactive graph of the discourse (D3 force layout). Nodes are ideas (blue) and the papers engaging them (amber); edges are typed stances, colored so positive/negative influence is legible — solid green argues-for, solid red argues-against, gold-dashed nuances, grey-dotted tests. Output is ONE HTML file (D3 loaded from CDN), interactive: drag, scroll-zoom, hover a paper for its title. This exists because building it by hand is fiddly (edge typing, dashed legend, force params) — parameterize instead of re-deriving. # a few explicit ideas python3 _scripts/make_graph.py replay-is-necessary-for-class-IL \ protecting-important-weights-prevents-forgetting --out reports/debate-graph.html # every contested idea + the papers on each side python3 _scripts/make_graph.py --contested --out reports/contested.html # one idea's whole neighbourhood python3 _scripts/make_graph.py --idea generative-replay-can-substitute-stored-data Flags: --contested use all ideas with `status: contested` --idea SLUG shorthand for a single idea (same as passing it positionally) --embed strip the page header (for embedding in an