Understand graphify's output formats and choose the right one for your use case.
| Format | Output File | Best For | Interactivity | User Type |
|---|---|---|---|---|
| HTML | graph.html |
Visual exploration, presentations | Interactive | Developers, teams |
| JSON | graph.json |
Custom tools, CI pipelines, APIs | Programmatic | Developers, tooling |
| SVG | graph.svg |
Documentation, README embeds, print | Static | Everyone |
| Neo4j | graph.cypher |
Advanced queries, large datasets, analysis | Database queries | Analysts, power users |
| Ladybug | graph.ladybug.cypher |
Embedded local analytics, research | Database queries | Analysts, researchers |
| Obsidian | obsidian/ folder |
Personal knowledge management | Note linking | Knowledge workers |
| Wiki | wiki/ folder |
Team documentation, AI agents, onboarding | Browser navigation | Everyone |
| Report | GRAPH_REPORT.md |
Quick insights, architecture review | Reading | Everyone |
graphify run ./my-project
# Generates: graph.json, graph.html, GRAPH_REPORT.mdgraphify run ./my-project --format json,html,svg,neo4j,obsidian,wiki,report
# Generates all 7 exports for comprehensive analysisgraphify run ./my-project --format html
graphify run ./my-project --format jsonWant to click around and explore? → Use HTML
- Interactive browser-based viewer
- Search nodes, zoom, pan, click for details
- No external tools needed
- Perfect for discovering architecture
Adding to README or docs? → Use SVG or Wiki
- SVG: Static image, embed with
 - Wiki: Full-featured documentation site, serve on GitHub Pages
- Report: Summary document, git-friendly
Building your own tools? → Use JSON
- Machine-readable format
- Load into Python, JavaScript, or any language
- Pipe to jq, grep, or custom scripts
- Integrate with your CI/CD pipeline
Need complex graph operations? → Use Neo4j
- Cypher query language
- Pattern matching, shortest paths, cycles
- Combine with other graph data
- Real-time dashboards
Managing knowledge with notes? → Use Obsidian
- Individual markdown notes per node
- Wikilinks between components
- Leverage Obsidian plugins and graph view
- Mix code knowledge with other notes
Sharing with non-technical stakeholders? → Use Report or Wiki
- Report: Human-readable summary, insights, recommendations
- Wiki: Navigable documentation, ideal for onboarding
graphify run ./src --format html,report
# Step 1: Read GRAPH_REPORT.md (5-10 min)
# Step 2: Open graph.html in browser (explore visually)graphify run ./src --format html,svg,report
# Step 1: Use graph.html for live exploration in meeting
# Step 2: Include graph.svg in slides/docs
# Step 3: Share GRAPH_REPORT.md as handoutgraphify run ./src --format json
# Load graph.json in your language/framework
# Build visualizations, metrics, or analysis on topgraphify run ./src --format obsidian,wiki
# Choose one or both depending on your workflow
# Obsidian: personal knowledge management
# Wiki: team documentation sitegraphify run ./src --format neo4j
# Import into Neo4j
# Write Cypher queries for patterns, cycles, paths
# Run complex analysisgraphify run ./src --format json,html,svg,neo4j,obsidian,wiki,report
# Get all perspectives on your codebase
# Use different formats for different purposes
# No performance penalty — all generated in one runProduces: graph.html
A single, self-contained HTML file with interactive visualization using vis-network.
- ✅ Click nodes for details
- ✅ Search and filter
- ✅ Zoom, pan, drag
- ✅ No external dependencies
- ✅ Works offline
Produces: graph.json
Standard JSON with nodes, edges, communities, and metadata.
- ✅ Load into any programming language
- ✅ Pipe to jq or other CLI tools
- ✅ Build custom visualizations
- ✅ Integrate with CI/CD
Produces: graph.svg
Static vector image of the graph.
- ✅ Embed in docs with
 - ✅ Include in README, PRs, slides
- ✅ Print to PDF
- ✅ Edit in Inkscape or Illustrator
Produces: graph.cypher
Cypher script for importing into Neo4j database.
- ✅ Advanced graph queries
- ✅ Pattern matching and path finding
- ✅ Cycle detection
- ✅ Combine with other data
Produces: graph.ladybug.cypher
Ladybug-compatible Cypher script with structured DDL (CREATE NODE TABLE, CREATE REL TABLE) and native MAP(STRING, STRING) metadata storage.
- ✅ Embedded database — no server required
- ✅ Native
MAPtype for metadata (no JSON strings) - ✅ Columnar storage optimized for analytical queries
- ✅ Structured schema with typed properties
Produces: obsidian/ folder
Personal knowledge management vault with interconnected notes.
- ✅ One markdown note per node
- ✅ Wikilinks between nodes
- ✅ Leverage Obsidian plugins
- ✅ Mix with other knowledge
Produces: wiki/ folder
Documentation site structure, agent-crawlable.
- ✅ Serve as documentation site
- ✅ AI agents can navigate
- ✅ Community pages and god node analysis
- ✅ Search-friendly flat structure
Produces: GRAPH_REPORT.md
Human-readable analysis with insights and recommendations.
- ✅ Summary metrics
- ✅ God nodes and surprising connections
- ✅ Community analysis
- ✅ Suggested questions for architects
- ✅ Included by default in every run
There's no performance penalty for generating multiple formats in one run:
# Fast and efficient — all generated in ~2 seconds
graphify run ./src --format json,html,svg,neo4j,ladybug,obsidian,wiki,reportRecommended combinations:
| Goal | Formats |
|---|---|
| Quick start | html, report |
| Documentation | html, svg, report |
| Knowledge base | obsidian, wiki, report |
| Analysis | json, neo4j, ladybug |
| Embedded analytics | ladybug, report |
| Everything | json, html, svg, neo4j, ladybug, obsidian, wiki, report |
Approximate file/folder sizes for 1000-node graphs:
| Format | Size |
|---|---|
| JSON | ~500 KB |
| HTML | ~1 MB (self-contained) |
| SVG | ~1 MB |
| Neo4j Cypher | ~200 KB |
| Ladybug Cypher | ~250 KB |
| Obsidian | ~2 MB (many files) |
| Wiki | ~3 MB (many files) |
| Report | ~100 KB |
All formats are git-friendly:
# Commit reports and SVG for version control
git add GRAPH_REPORT.md graph.svg
# Store JSON for machine consumption
git add graph.json
# Store folders for team collaboration
git add obsidian/ wiki/
# Store Ladybug script for embedded analytics
git add graph.ladybug.cypher
# Ignore HTML (it's static, can be regenerated)
echo "graph.html" >> .gitignoreUpdate formats whenever code changes significantly:
# Quick update (default + report)
graphify run ./src
# Full refresh (all formats)
graphify run ./src --format json,html,svg,neo4j,ladybug,obsidian,wiki,report
# In CI/CD: commit updated exports
graphify run ./src
git add graph.* GRAPH_REPORT.md obsidian/ wiki/ graph.ladybug.cypher
git commit -m "chore: update architecture exports"
git push| Format | Limitation | Workaround |
|---|---|---|
| HTML | Large graphs (10K+ nodes) slow to render | Use JSON or Neo4j for analysis |
| SVG | Static (no interactivity) | Use HTML for exploration |
| JSON | Requires programming knowledge | Use HTML or Report for browsing |
| Neo4j | Requires Neo4j setup | Use HTML for quick exploration |
| Ladybug | Requires Ladybug runtime to execute | Generate alongside Report for reading |
| Obsidian | Requires Obsidian app | Use Wiki for browser access |
| Wiki | Manual navigation (no DB queries) | Use Neo4j or Ladybug for complex analysis |
| Report | Text only (no interaction) | Use HTML for exploration |