connectivity_graph: Find The Connectivity Graph Of A Hypergraph

View source: R/support_graphs.R

connectivity_graphR Documentation

Find The Connectivity Graph Of A Hypergraph

Description

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.

Usage

connectivity_graph(hype)

Arguments

hype

A hypergraph object.

Value

A graph object representing the hyperedge connectivity graph.

Examples

hype <- example_hype()
g <- connectivity_graph(hype)
print(g)
plot(g)

hwarden162/hyper documentation built on Sept. 15, 2022, 5:21 a.m.