Does Variable assignment preserve the graph?

Final question (referencing my other post): how can I print the graph to verify this? In other words, in debugging, how can I check that I’m not losing track of any operations along the way?