Run the graph generator against the current project's wiki.
Steps
- Run:
python3 <pith_install_dir>/tools/graph_generator.py- Where
<pith_install_dir>is the directory where pith is installed (the directory containing this skills/ folder). - The script resolves
wiki/and writeswiki-graph.htmlrelative to the current working directory (project root).
- Where
- It will open
wiki-graph.htmlautomatically in the browser. - If
wiki/does not exist or has no.mdfiles, tell the user to run/pith wikifirst to build the wiki.
When to use
- User runs
/pith-graph - User asks to "visualize the wiki" or "show the wiki graph"
Notes
- Output file:
wiki-graph.htmlin the project root (where the user ran the command) - No dependencies beyond Python 3 stdlib — no install needed
- Ghost nodes (dashed) = pages referenced by wikilinks but not yet written
One-shot. Does not persist.