private void showNode(Node node) throws IOException {
output.write(node.getOrderState().getString());
if (node instanceof OrderQueueNode) {
OrderQueueNode n = (OrderQueueNode)node;
output.write("(" + n.getOrderQueue().size() + " orders)");
}
output.write(" ");
}