to_BFS {autoharp} | R Documentation |
Function to rearrage nodes in BFS
to_BFS(adj_list, node_info)
adj_list |
The output of lang_2_tree. |
node_info |
The output of lang_2_tree. |
This function is for an internal TreeHarp constructor use. It is not exported.
An adjacency list and nodes info data frame in BFS order.