The Hierarchy view shows the relationship between parent and child objects. It serves as an entry point for a user to see where an object lives in a larger hierarchical structure.
For single level data sets, it is recommended to use a list report instead of a Hierarchy view. To learn more, see List Report.
Hierarchy views on iPhone (left) and iPad (right)
Single Line Object Cell
Use the horizontal variation of the hierarchy accessory to avoid creating unnecessary space between object cells.
Be careful when using single action buttons and contact icons within an object cell. Using it next to the hierarchy icon can create too many touch targets.
Use icon stacks in an object cell with caution because they can cause heavy text truncation.
The breadcrumb only appears in compact width layouts. It is comprised of two elements:
- Left and right arrow icons – In addition to the left/right swipe gesture, users can tap on the arrow icons to navigate between levels in a hierarchy.
- Parent object title – This parent object title displays the name of the object that is currently in view.
B. Object Cell
The behavior and functionality of object cells follow the standard. For more guidance on object cells, see Object Cell.
B. Hierarchy Icon + Total Direct Objects
There is a default and a selected state of the Hierarchy icon. Use the selected state when a parent object is expanded. The total direct objects can be omitted for lazy loading purposes.
Tapping on the Hierarchy icon expands the object to display its children. The Hierarchy icon is hidden for objects without children.
Tapping the Hierarchy icon to view its children
Once a path has been expanded, a horizontal scroll by swiping will snap the nearest column to the edge.
Swiping horizontally in a Hierarchy view to scroll
Users can scroll up and down to view more objects within a single level.
Vertical scrolling on one column
Hierarchies can range from small two-level data sets to large data sets with over ten levels. The Hierarchy view can adapt to different data ranges using a column-based layout.
In a 2-column layout, the parent level objects are displayed in the first column. Child objects are displayed in the second column.
If the second column also contains parent objects, the third column displays its children when the parent objects are expanded.
For large hierarchies that contain more than two parent levels, additional columns are added to display preceding and succeeding levels.
The Hierarchy view offers a picker mode where the left accessory provide a select state symbol.