Expand description
Export functionality for CodeGraph
Exports graph data to JSON/JSONL/CSV/SCIP format for LLM and pipeline consumption.
§Export Schema Versioning
All export formats include a version field for parsing stability:
| Version | Changes |
|---|---|
| 2.0.0 | Added symbol_id, canonical_fqn, display_fqn fields |
- JSON: Top-level
versionfield - JSONL: First line is
{"type":"Version","version":"2.0.0"} - CSV: Header comment
# Magellan Export Version: 2.0.0
See MANUAL.md section 3.8 for detailed export documentation.
Modules§
- scip
- SCIP export functionality
Structs§
- Call
Export - Call entry for JSON export
- Collision
Candidate Export - Collision candidate entry for JSON export
- Collision
Export - Collision group entry for JSON export
- Export
Config - Configuration for graph export
- Export
Filters - Export filters for DOT export
- File
Export - File entry for JSON export
- Graph
Export - JSON export structure containing all graph data
- Reference
Export - Reference entry for JSON export
- Symbol
Export - Symbol entry for JSON export
Enums§
- Export
Format - Export format options
Functions§
- export_
csv - Export graph data to CSV format
- export_
dot - Export call graph to DOT (Graphviz) format
- export_
graph - Export graph data with configurable format and options
- export_
json - Export all graph data to JSON format
- export_
jsonl - Export all graph data to JSONL format
- stream_
json - Stream all graph data to JSON format with reduced memory footprint
- stream_
json_ minified - Stream all graph data to JSON format with minified output
- stream_
ndjson - Stream all graph data to JSONL format with reduced memory footprint