Normalize builds by forcing deterministic behaviour in GraphVizualizer.

Normalize builds by forcing deterministic behaviour in GraphVizualizer. The same graph should result in the same .dot file.

----------------
Manually synced
MANUAL_CL=50290086