}
}
public static <S> void visualizeChildTable(Appendable buffer, String caption, String label,
EnhancedSuffixArray esa, SymbolTable<S> symbolTable) throws IOException {
Drawing drawing;
TreeVisualizer<S> treeVisualizer = new TreeVisualizer<S>(symbolTable, true);
Map<Interval, Integer> terminals;
TableVisualizer<S> tableVisualizer;
int terminalsNum = -1;
int depth = 0;
int[] usedCells = new int[esa.getSequence().size()];
while (terminalsNum != 0) {
drawing = new TikzIntervalDrawing(buffer, String.format(caption, depth), String.format(label, depth), 0.65,
0.65, 26);
terminals = treeVisualizer.visualizeTree(drawing, esa, depth);
tableVisualizer = new TableVisualizer<S>(esa.getSequence(), symbolTable);
tableVisualizer.visualizeChildTable(drawing, esa, terminals, usedCells, depth);
drawing.flush();
depth++;
terminalsNum = terminals.size();
}
}