Make graph structure modifiable only when scheme is stopped.