Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

Commit 4a79e21

Browse files
Add Graph Narrative Generator - autonomous natural-language graph reports
New interactive tool (docs/narrative.html) that analyzes any graph and generates comprehensive written narratives covering: - Structural overview (density, diameter, clustering, components) - Key player analysis (degree, betweenness, PageRank, closeness centrality) - Community detection via label propagation - Vulnerability assessment (articulation points, bridges) - Anomaly detection (z-score outliers) - Model comparison (small-world coefficient) - Growth forecasting (preferential attachment analysis) - Actionable recommendations Features: - 5 narrative tones: Analyst, Storyteller, Detective, Advisor, Journalist - 8 configurable analysis modules - 3 depth levels (brief/standard/detailed) - 8 graph presets including Karate Club and Small World - Auto-Narrator mode: autonomous iterative discovery (triangles, assortativity) - Force-directed Canvas visualization with community coloring - Export to Markdown, HTML, JSON, or plain text - Edge list and adjacency list input formats Usage: Open docs/narrative.html, load a preset or enter edges, select tone and modules, click Generate.
1 parent 8a59f92 commit 4a79e21

2 files changed

Lines changed: 631 additions & 0 deletions

File tree

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ <h2>GraphVisual</h2>
5959
<a href="epidemic.html" class="sidebar-link"><span class="icon">🏥</span>Epidemic Sim</a>
6060
<a href="graph-automaton.html" class="sidebar-link"><span class="icon">🤖</span>Graph Automaton</a>
6161
<a href="gnn-playground.html" class="sidebar-link"><span class="icon">🧠</span>GNN Playground</a>
62+
<a href="narrative.html" class="sidebar-link"><span class="icon">📝</span>Narrative Gen</a>
6263
</div>
6364
<div class="sidebar-section">
6465
<div class="sidebar-section-title">Architecture</div>

0 commit comments

Comments
 (0)