Graph class compiles