Type Alias AdjacencyListForPrint

Source
type AdjacencyListForPrint = Vec<Vec<ScrollTreeNodeId>>;
Expand description

In order to pretty print the ScrollTree structure, we are converting the node list inside the tree to be a adjacency list. The adjacency list then is used for the ScrollTree::debug_print_traversal of the tree.

This preprocessing helps decouples print logic a lot from its construction.

Aliased Typeยง

struct AdjacencyListForPrint { /* private fields */ }