improve graph viewer in gui

can now look at local sections of the graph