Panning graph after selecting a node.