docs(graph): regenerate hero graph.png coloured by OKF type#146
Merged
Conversation
The README hero graph now colours nodes by each note's OKF `type` (with a legend), matching the web graph view added in 3.8.1. The demo renderer is rewritten as a self-contained networkx + matplotlib script (the box's Graphviz lacked the sfdp layout plugin, and this also drops the external Graphviz dependency + mirrors the web graph's force-directed look); make_demo_vault.py assigns each demo note an illustrative `type` (Character/Place/Construct/Corp/Tech). README caption + demo README updated. Default `ruff check .` clean (docs/graph-demo is ruff-excluded). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFuGddPx3UhUkcC74KBXZB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerates the README hero
docs/graph.pngso its nodes are coloured by OKFtype(with a legend) — matching the web graph view shipped in 3.8.1.docs/graph.png— regenerated: force-directed, dark Cyberdeck theme, nodes coloured by OKFtype(Character/Place/Construct/Corp/Tech), sized by link degree, with a type legend. Same Neuromancer corpus (Case, Molly, Wintermute, Straylight…).render_graph.py— rewritten as a self-containednetworkx+matplotlibrenderer. This box's Graphviz was missing thesfdplayout plugin; this drops the external Graphviz dependency and mirrors the web graph's force-directed look.make_demo_vault.py— assigns each demo note an illustrative OKFtype(as frontmatter) so colour-by-type is meaningful.docs/graph-demo/README.mdupdated.Docs-only;
docs/graph-demois ruff-excluded and defaultruff check .is clean. No release/deploy needed.🤖 Generated with Claude Code
Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/