public String toString() {
StringWriter output = new StringWriter();
try {
BasicUtilities.printTree(new AbstractTreeModel() {
@Override
public Object getChild(Object parent, int index) {
if (parent instanceof BinaryTreeVertex<?>) {
return index == 0 ? ((BinaryTreeVertex<?>) parent).getLeft()