Learn R Programming

drake (version 4.2.0)

legend_nodes: Function legend_nodes

Description

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

Usage

legend_nodes(font_size = 20)

Arguments

font_size

font size of the node label text

See Also

drake_palette(), plot_graph(), dataframes_graph()

Examples

Run this code
# NOT RUN {
visNetwork::visNetwork(nodes = legend_nodes())
# }

Run the code above in your browser using DataLab