Added the graph view and the initial code that handles it.