add a graph inspector