Extension of NetworkX functionality to hypergraphs.