generate DOT graph of paths