GraphML and GEXF
GraphML and GEXF helpers from annnet.io.graphml.
annnet.io.graphml
Classes
Functions
to_graphml
Export via NetworkX with reified hyperedges; sanitize attrs for GraphML.
Also writes a sidecar manifest for lossless re-import.
from_graphml
Import via NetworkX; if a sidecar manifest is present, use it as SSOT.
Otherwise, fall back to a best-effort no-manifest import with type restoration.
to_gexf
Export an AnnNet graph to GEXF via NetworkX.