LearnerGraphND graph = new LearnerGraphND(buildGraph("A-a->B-a-#C\nA-d-#D\nA-c->A\nA-a->S-a->S","testWriteAndLoad5"),Configuration.getDefaultConfiguration());
graph.findVertex("B").setDepth(5);graph.findVertex("D").setColour(JUConstants.AMBER);
graph.addToCompatibility(graph.findVertex("A"), graph.findVertex("B"),JUConstants.PAIRCOMPATIBILITY.INCOMPATIBLE);
ChangesRecorder patcher = new ChangesRecorder(null);
patcher.addTransition(graph.findVertex("B"), "c", graph.findVertex("B"));
patcher.removeTransition(graph.findVertex("A"), "a", graph.findVertex("B"));
patcher.removeFromCompatibility(graph.findVertex("B"), graph.findVertex("A"));
patcher.addToCompatibility(graph.findVertex("B"), graph.findVertex("S"),JUConstants.PAIRCOMPATIBILITY.INCOMPATIBLE);
patcher.addTransition(graph.findVertex("A"), "q", graph.findVertex("B"));
patcher.setInitial(graph.findVertex("A"));