Co-author · FL03
rshyper
Relationships beyond pairs.
A Rust framework for representing and manipulating hypergraphs: structures in which one edge can connect several vertices.
- Rust
- Hypergraphs
- WebAssembly
In development · API evolving
Hosted by Scattered-Systems. The package credits FL03 and Scattered-Systems.
How do you work with relationships that connect a group, rather than just two endpoints?
- Approach
- A map-based hypergraph implementation, typed node and edge values, and macros for constructing the graph. Optional features separate serialization, parallelism, and WebAssembly support.
- Constraints & tradeoffs
- The public API is still evolving. Browser and WASI support are opt-in features, so consumers select the integrations needed for their target.
let mut graph =
UnHyperMap::<usize, usize>::undirected();