fixed partial graph

added toggle for global graph, variable exploration depth