generate dot graph from system