This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Read a simple undirected graph in graph6 format from string.
string : string
Data in graph6 format
G : Graph
If the string is unable to be parsed in graph6 format
Graph6 specification: http://cs.anu.edu.au/~bdm/data/formats.txt for details.
>>> G = nx.parse_graph6('A_') >>> sorted(G.edges()) [(0, 1)]