WriteToDot writes the lock graph in the dot language to w, with cycles highlighted.
(w io.Writer)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected