You can clear a graph wiring an empty constant to it, even directly using a case structure (only executing this case when exiting) or using a local variable, so that it is the last action you execute. I would bet for the first, having a clear graph state can be interesting if you want to clear it at any point.
Hope this helps