'Writes a line with a node at index.'

def _node_line(self, index, name):

    self._indent()
    for c in range(index):
        self._write_edge('|    ', c)
    self._out.write(('%s    ' % self.node_character))
    for c in range((index + 1), len(self._frontier)):
        self._write_edge('|    ', c)
    self._out.write(('    %s' % name))
    self._set_state(NODE, index)
    self._out.write('\n')
