export_graphml

Function export_graphml 

Source
pub fn export_graphml(
    engine: &OptimizedDiscoveryEngine,
    path: impl AsRef<Path>,
    _filter: Option<ExportFilter>,
) -> Result<()>
Expand description

Export graph to GraphML format (for Gephi, Cytoscape, etc.)

§Arguments

  • engine - The discovery engine containing the graph
  • path - Output file path
  • filter - Optional filter criteria

§GraphML Format

GraphML is an XML-based format for graphs. It includes:

  • Node attributes (domain, weight, coherence)
  • Edge attributes (weight, type, timestamp)
  • Full graph structure

§Examples

export_graphml(&engine, "output/graph.graphml", None)?;