to_BFS: Function to rearrage nodes in BFS
Description
Function to rearrage nodes in BFS
Usage
to_BFS(adj_list, node_info)
Value
An adjacency list and nodes info data frame in BFS order.
Arguments
- adj_list
The output of lang_2_tree.
- node_info
The output of lang_2_tree.
Details
This function is for an internal TreeHarp constructor use. It is
not exported.