The graph is outside the callback!