Implement a simple graph type and load the sample data into it.