Questions tagged [hypergraph]
18 questions
12
votes
2 answers
Python Library to create and visualize HyperGraph
Is there any libraries similar to igraph where I can create a hypergraph. I am working with hypergraph now and wanted to use some HyperGraph libraries to work on.

Ashik Vetrivelu
- 1,021
- 1
- 9
- 24
5
votes
2 answers
Hypergraph with networkx
is anyone familiar with networkx?
I try to get a hypergraph, where i want to set the Hyperedges as other colored nodes (size dependent on their value) out of an list. And i want to set the Nodes out of an other list.
The documentation and examples…

QWERASDFYXCV
- 245
- 1
- 6
- 15
3
votes
0 answers
Recommendation for Hypergraph DBMS with visual editor (or at least viewer)?
Can anyone point me in a promising direction or to a specialized community? I would like to create a graph representing domain knowledge with the following requirements:
allow true hypergraph: native reification = statements about statements =…

novamax
- 63
- 3
2
votes
1 answer
SimpleHypergraphs.jl - loading hypergraph from text file
I'm using the SimpleHypergraphs.jl library and trying to construct a hypergraph from a text file such as a csv.
For example, I'd like to load a hypergraph from a csv file like this:
0.0, 7.0, 0.0, 0.0
1.3, 2.8, 4.5, 0.0
0.0, 1.3, 3.1, 4.2
1.2, 0.0,…

bambi
- 364
- 1
- 3
- 12
1
vote
3 answers
How do I convert a simple weighted graph to a hypergraph?
I have found a partitioning algorithm that works on hypergraphs and its name is hMETIS, but my input is in the form of a simple weighted graph. Is there any technique that maps a graph to a hypergraph?

Aavash Bhandari
- 117
- 8
1
vote
1 answer
How best to batch insert queries in Grakn?
What is best practice for batching Grakn insert queries?
from the docs:
"Keep the number of operations per transaction minimal. Although it is technically possible to commit a write transaction once after many operations, it is not recommended. To…

Jon T
- 108
- 6
1
vote
0 answers
Visual editing of hypergraph(DB) data
Is it possible to visiually access / edit graphs with hyperedges / reification (e.g. HypergraphDB) via a GUI (preferrably web-based and OpenSource, like webVOWL)?
I tried too search, but no existing topics I found refer to hyperedges / reification…

novamax
- 63
- 3
1
vote
0 answers
Python hypergraph design / engines for hashtag relationships
I started out using orientdb/pyorient to store hashtags and what hashtags they were related to. I got the point where I was storing the hashtags and then I needed to create the edges. I then realized that to do this, there would be a lot of…

xendi
- 2,332
- 5
- 40
- 64
1
vote
3 answers
Getting all pairs of numbers in a 2D array c++
I am needing to print out all pairs of numbers from each line read in from a text document. A sample text document would be:
6 8
1 3 5
2 3 4
3 6 5
7 6 8
4 6
7 5
Where the first line is the number of nets (6) and the number of cells (8) for a…

justinbg10
- 51
- 1
- 1
- 9
1
vote
2 answers
Hypergraph in database
I've started with a project where I need to present my data as hypergraph.
The idea is:
I have sequence of elements (vertices) and I can mix them (create edge). Every edge can be mixed with elements.
The idea looks like this:
…

Lokki
- 372
- 1
- 6
- 20
1
vote
1 answer
Large Scale Social Network Analysis for Hypergraphs
I have been trying to implement large scale social network analysis for hypergraphs. But Apache Giraph allows only simple graphs and Multigraphs. II couldn't find any suitable method to implement Large Scale SNA in Hypergraphs. Please suggest me…

Alen Jacob
- 11
- 1
1
vote
1 answer
pygraph-hypergraph link node to hyperedge
I'm getting really frustrated using the pygraph library for building hypergraphs with Python.
I'm trying to link two different nodes (75, 69) to a hyperedge (31), and then link that hyperedge to other two different nodes (71, 70).
i.e: (75,69) --->…

uixnn
- 13
- 2
0
votes
0 answers
Viewing Hypergraphs in SageMath
I am trying to visualise the hyperedges of the complete 3-uniform hypergraph on 13 vertices, so then I can colour them. I am aware that it will be busy and incomprehensible, but that is the point I am trying to show.
I have tried manually creating…

B. Phair
- 3
- 3
0
votes
1 answer
Cannot query graphql endpoint using Apollo from Angular
I am using Angular 15 and am trying to query a GraphQL endpoint using Apollo. I ran ng add apollo-angular that took care of all dependencies and imports, specified the uri of the endpoint and the correct version of the GraphQL, but I am always…

Dorian Olarescu
- 57
- 1
- 8
0
votes
0 answers
Software for visualising hypergraphs?
I tried using hypernetx, it works for small graphs but for graphs with large no of edges and vertices it gives very unusable image. If anyone knows which software/Library I can use or how to modify parameters in hypernetx only such that it gives…

Rohit_
- 73
- 1
- 8