Create the nodes data frame used in the legend
of the graph visualizations.
![[Soft-deprecated]](figures/lifecycle-soft-deprecated.svg)
Source: R/drake_graph_info.R
legend_nodes.Rd
Output a visNetwork
-friendly
data frame of nodes. It tells you what
the colors and shapes mean
in the graph visualizations.
Examples
if (FALSE) {
# Show the legend nodes used in graph visualizations.
# For example, you may want to inspect the color palette more closely.
if (requireNamespace("visNetwork", quietly = TRUE)) {
# visNetwork::visNetwork(nodes = legend_nodes()) # nolint
}
}