Implementations of various graphs.