powered by
Output a visNetwork-friendly data frame of nodes. It tells you what the colors and shapes mean in the graph visualizations.
visNetwork
legend_nodes(font_size = 20)
font size of the node label text
A data frame of legend nodes for the graph visualizations.
# NOT RUN { # Show the legend nodes used in graph visualizations. # For example, you may want to inspect the color palette more closely. visNetwork::visNetwork(nodes = legend_nodes()) # nolint # }
Run the code above in your browser using DataLab