主权项 |
1. A system for displaying a hierarchical dataset, the system comprising:
a display device having a display area, the display area including a focus line and an upper bound and a lower bound orthogonal to the focus line; at least one processor; and memory storing:
a tree spacing structure for a branch in the hierarchical dataset, the branch having a root node and the tree spacing structure configured to include, for each node in the branch, an entry for each generation that includes the node, the entry specifying spacing of the node in a direction parallel to the focus line based on a quantity of descendants intersecting the focus line,instructions that, when executed by the at least one processor, cause the system to perform operations including:
determining first coordinates on the display area for the root node,determining a generation for a descendant of the root node intersecting or approaching the focus line,determine second coordinates of at least some of the descendants in the display area using the tree spacing structure and the first coordinates of the root node, andtrigger displaying, on the display device, a representation of the root node and representations of the at least some of the descendants in the display area using the first coordinates and the second coordinates. |