graphi.graph_io.graphml package

Utilities for loading and storing Graphs as GraphML XML

The GraphML Format

This modules is capable of reading data according to the GraphML Specification. The GraphML format covers all functionality that can be represented by :my:mod`graphi` graphs. Note that several GraphML features, such as hyperedges, are not supported.

<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns=""
  <graph id="G" edgedefault="undirected">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <edge source="n0" target="n1"/>
    <edge source="n1" target="n2"/>
    <edge source="n2" target="n0"/>