Skip to contents

Function to rearrage nodes in BFS

Usage

to_BFS(adj_list, node_info)

Arguments

adj_list

The output of lang_2_tree.

node_info

The output of lang_2_tree.

Value

An adjacency list and nodes info data frame in BFS order.

Details

This function is for an internal TreeHarp constructor use. It is not exported.