Skip to main content

graphml_decode

Function graphml_decode 

Source
pub fn graphml_decode(input: &str) -> Result<GraphMlTopology>
Expand description

Imports the structural GraphML subset: one graph, nodes, and edges.

Arbitrary node ids are accepted and mapped by node declaration order. Nested graphs, ports, hyperedges, and per-edge direction overrides are rejected instead of being silently discarded.

ยงErrors

Returns an error for malformed XML tags, references, or unsupported graph features.