Using a selection of nodes, highlight edges linking to nodes that are connected to several nodes from the selection. Differentiate multiple connected and fully connected (all selected nodes). Use a maximum number of connected nodes to use lighter colored edges (default 20).
highlight_multiple_connected(
df_links,
selected_nodes,
n_max = 20,
dark_cols = c("#ddd", "#444", "#444"),
light_cols = c("#efefef", "#ddd", "#bbb")
)Links data frame of a sgraph object
Links data frame of a sgraph object
Nodes identifiers to be used for the selection.
Maximum number of connected nodes, to use either lighter or darker color sets for edges (default 20).
Three hex values for colors to use with n_max.
Three hex values for colors to use with n_max.