Changes critical path representation in dot file

Instead of edges, tasks are represented as critical ones