Without escaping strings such as variable names, the produced .dot file might print '\result' as a variable name, which results in '\r' being stripped. Dot will then show edges such as 'esult<main>'.