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:
result
/
mix(1+2) +
element 3
|
+---------+
| |
element |
1+2(mix) element
/| 3
/ |
/ |
/ |
element |
1 |
element
2
I need to know all mixes and save the result.
After I have enough data I'll need to analyze it and when user picks 3 or more elements I'll need to show all the results he can get.
I need to build a db structure to support graph algorithms and it must work fast. Which type of database will solve this and how I should build the structure? Do I need to use graph database, sql or NoSql?
I'll appreciate any ideas or examples.