Added connection number to .dot files