HyperZig is a directed hypergraph implementation in Zig (https://en.wikipedia.org/wiki/Hypergraph):
- Each hyperedge can contain zero, one (unary) or multiple vertices.
- Each hyperedge can contain vertices directed to themselves one or more times.
Add hyperzig
as a dependency to your build.zig.zon
:
zig fetch --save https://github.com/yamafaktory/hyperzig/archive/<commit-hash>.tar.gz
Add hyperzig
as a dependency to your build.zig
:
const hyperzig = b.dependency("hyperzig", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("hyperzig", hyperzig.module("hyperzig"));