Added a graph to the UI