create_node_df function

Create a node data frame