Function graphannis_core::graph::serialization::graphml::export_stable_order

source ยท
pub fn export_stable_order<CT: ComponentType, W: Write, F>(
    graph: &Graph<CT>,
    graph_configuration: Option<&str>,
    output: W,
    progress_callback: F
) -> Result<()>
where F: Fn(&str),
Expand description

Export the GraphML file and ensure a stable order of the XML elements.

This is slower than export but can e.g. be used in tests where the output should always be the same.