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 graphpath- Output file pathfilter- 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)?;