add mdigraph to create dot output for graphviz