-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(project): rename to HypergraphZ
- Loading branch information
1 parent
ac0ce71
commit 919874b
Showing
5 changed files
with
114 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# HyperZig - A Hypergraph Implementation in Zig | ||
# HypergraphZ - A Hypergraph Implementation in Zig | ||
|
||
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/yamafaktory/hyperzig/ci.yml?branch=main&style=flat-square) | ||
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/yamafaktory/hypergraphz/ci.yml?branch=main&style=flat-square) | ||
|
||
HyperZig is a directed hypergraph implementation in Zig (https://en.wikipedia.org/wiki/Hypergraph): | ||
HypergraphZ 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. | ||
|
||
## Usage | ||
|
||
Add `hyperzig` as a dependency to your `build.zig.zon`: | ||
Add `hypergraphz` as a dependency to your `build.zig.zon`: | ||
|
||
```sh | ||
zig fetch --save https://github.com/yamafaktory/hyperzig/archive/<commit-hash>.tar.gz | ||
zig fetch --save https://github.com/yamafaktory/hypergraphz/archive/<commit-hash>.tar.gz | ||
``` | ||
|
||
Add `hyperzig` as a dependency to your `build.zig`: | ||
Add `hypergraphz` as a dependency to your `build.zig`: | ||
|
||
```zig | ||
const hyperzig = b.dependency("hyperzig", .{ | ||
const hypergraphz = b.dependency("hypergraphz", .{ | ||
.target = target, | ||
.optimize = optimize, | ||
}); | ||
exe.root_module.addImport("hyperzig", hyperzig.module("hyperzig")); | ||
exe.root_module.addImport("hypergraphz", hypergraphz.module("hypergraphz")); | ||
``` | ||
|
||
## Documentation | ||
|
||
The latest online documentation can be found [here](https://yamafaktory.github.io/hyperzig/). | ||
The latest online documentation can be found [here](https://yamafaktory.github.io/hypergraphz/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.