The boost graphs used on the C++ side in IMP cannot easily be exported to python. Instead we provide a simple graph wrapper and a set of helper functions.
Each node of the graph has an associated vertex name, the exact type of which depends on the graph.