final String string = sb.toString();
System.out.println(string);
}
public void saveFlowGraph() {
DotVisualizer visualizer = new DotVisualizer(stateMachine);
System.out.println("Saving flowgraph");
saveFlowGraph(visualizer, "lambda");
final StateMachine clone = stateMachine.clone();
clone.removeLambdas();
DotVisualizer v2 = new DotVisualizer(clone);
saveFlowGraph(v2, "");
System.out.println("Done");
}