I think many of us would benefit from a reusable graph representation.
Perhaps we can maintain one script that serializes to the most important graph formats.
For example jgraph , that has bindings in Python. This would allow us to serialize our graph into:
- GraphML
- Dot
- GEXF
- Json
- GML
- CSV
- Dimacs
- Graph6/Sparse6
The tricky part, I think, is to replicate Obsidian’s autogeneration of internal links, (the shortest path when possible heuristic)
Another option is to extend something that already exists,
AFAIK There is already an exporter to markdown in Rust (Obsidian-export - A rust library and CLI to export an Obsidian vault to regular Markdown) and an exporter to Cypher in Python (Neo4j Graph View Plugin (v0.2.1): Advanced Graph View in Obsidian using Neo4j).