updates to dot graph plotting