Graph

NameError probably isn't quite the right thing to raise here; a NameError generally means there's an identifier (name) that Python doesn't know what to do with.