Add connection information to dot graph