Added parameters c and r in the parser. Export dags as png.