pub fn export_obsidian(
graph: &KnowledgeGraph,
communities: &HashMap<usize, Vec<String>>,
community_labels: &HashMap<usize, String>,
output_dir: &Path,
) -> Result<PathBuf>Expand description
Export graph as an Obsidian vault (folder of .md files with [[wikilinks]]).
Each node becomes a markdown file with YAML frontmatter and a Connections
section listing all neighbours as [[wikilinks]].