Technology, Graph Theory, Tidygraph, Graph Analytics, Data Visualization.
function. Pass the algorithm name, the starting node’s ID, the number of edges out to trace, and the direction to trace to the morph() function to call to_local_neighborhood(). Passing “all” to “mode” will trace the graph up and down the supply chain. Create a variable called “neighbor” set equal