Compute all information (coordinates, angles) needed to draw a tree in a plotting package, e.g. ggplot2
1 | compute_tree(nodes, round = 2, y_nudge = 0.025, aspect_ratio = 1.2)
|
1 | compute_tree(nodes, 2, .05, 1.4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.