def getFlatDicts():
    """Return information of all nodes in a flat tuple and the maximum
        depth.

        The tuple consists of node information dictionaries. Each directionary
        has the following keys:

          - 'node': This is the node itself.

          - 'tree-state': A hash value that uniquely identifies the expansion
            state of the node.

          - 'row-state': When representing the node in a GUI it is necessary
            to know whether the levels higher up are opened or not. We use
            this information to decide whether we should or should not draw a
            vertical line in the tree.

            The 'row-state' value is simply a list of 'True' and
            'False'. 'True' signifies that a level is open and more elements
            of this level are expected further down.

          - 'last-level-node': A boolean that signifies whether a node is the
            last node of its level.

        This method is intended for output formats that cannot handle nested
        values easily. An example here are Page Templates.
        """
