Output a visNetwork-friendly data frame of nodes. It tells you what the colors and shapes mean in vis_drake_graph().

legend_nodes(font_size = 20)

Arguments

font_size

font size of the node label text

Value

A data frame of legend nodes for vis_drake_graph().

See also

drake_palette(), vis_drake_graph(), dataframes_graph()

Examples

# NOT RUN {
# Show the legend nodes used in vis_drake_graph().
# For example, you may want to inspect the color palette more closely.
visNetwork::visNetwork(nodes = legend_nodes())
# }