A Python library for dealing with undirected graphs