Recursively builds and returns a PQ tree for the MST
1  | 
mst | 
 The minimum spanning tree, as an igraph object.  | 
use_weights | 
 Whether to use edge weights when finding the diameter path of the tree.  | 
root_node | 
 The name of the root node to use for starting the path finding.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.