Added beginning of graph display functionality.