Skip to main content

export_wiki

Function export_wiki 

Source
pub fn export_wiki(
    graph: &KnowledgeGraph,
    communities: &HashMap<usize, Vec<String>>,
    community_labels: &HashMap<usize, String>,
    output_dir: &Path,
) -> Result<PathBuf>
Expand description

Export wiki-style markdown documentation.

Generates a wiki/ directory with:

  • index.md — table of contents
  • One .md file per community
  • One .md file per god node (nodes with degree > average * 2)