View source: R/Functions_graph_utilities.R
simplifyGraph | R Documentation |
Assign a color from a range of colors to all values in a numeric vector (datarange). NOTE: Edges are expected to not have a direction.
simplifyGraph(nodes, edges, mergebyedges)
nodes |
a node table |
edges |
an edge table with "from" and "to" as the first two columns. "From" and "to" have to refer to rownumbers of nodes. |
mergebyedges |
indices by of those edges in edges that link two nodes that should be joined |
TODO: Debug and simplify this function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.