add a dot graph