View source: R/support_graphs.R
connectivity_graph | R Documentation |
The connectivity graph is a graphical representation of a hypergraph, it has a vertex for each vertex and hyperedge in the hypergraph. Two hyperedges are connected in the connectivity graph if they both have a vertex in common, a vertex is connected to a hyperedge if the vertex is contained in the hyperedge and no vertices are connected by edges.
connectivity_graph(hype)
hype |
A hypergraph object. |
A graph object representing the hyperedge connectivity graph.
hype <- example_hype() g <- connectivity_graph(hype) print(g) plot(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.