Features
- Find shortest paths between nodes in a graph
- Find the common parents between selected nodes
- Directed Graph
- Directed Acyclic Graph
- It is quite fast
Why not igraph?
igraph is an amazing network analysis package. igraph is much more mature and orbweaver focuses on extreme performance and low latency operations. If you need super high performance and do not require weighted graphs, orbweaver may be for you.
![igraph vs orbweaver benchmark](reference/figures/benchmark.png)
We may add weighted graph in the future but for not it is not in the short-term road map.
Installation
Rust Toolchain
Before installing this package, you will need to install the Rust toolchain. If you are on Mac or Linux, you can do this by running the following command in your terminal:
Windows
If you are on Windows, you can download the installer from here.
In order to compile this package manually, you will need the GNU ABI used by the GCC toolchain. This is not the default on Windows, so you will need to install the toolchain manually. You can do this by running the following command in your terminal:
If you are on Windows you may need to install Rtools
as well. You can download the installer from here.
R Package
Once you have the Rust toolchain installed, you can install this package from Git using whatever method you prefer.
With remotes
:
remotes::install_github("ixpantia/orbweaver")
With devtools
:
devtools::install_github("ixpantia/orbweaver")
With renv
:
renv::install("ixpantia/orbweaver")
With pak
:
pak::pak("ixpantia/orbweaver")