export_graph
Export the dependency graph in GraphML, Cypher, or Obsidian format for analysis with external tools like Gephi, Neo4j, or Obsidian vaults.
Instructions
Export the dependency graph in formats external tools understand. Supports GraphML (Gephi/yEd/NetworkX), Cypher (Neo4j import script), and Obsidian (markdown vault with [[wikilinks]]). Use to crunch the graph in tools that already exist — Cypher queries, betweenness-centrality in NetworkX, vault navigation. For interactive HTML use visualize_graph; for Mermaid/DOT diagrams use get_dependency_diagram. Read-only. Returns JSON: { format, content, node_count, edge_count }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format. graphml=Gephi/yEd, cypher=Neo4j, obsidian=markdown vault. | |
| max_nodes | No | Cap on exported nodes (default 5000). Beyond ~50k Gephi struggles. |