cluster takes as input a graph in DOT format, finds node clusters and augments the graph with this information.