ultragraph
📣 Goal
Ultragraph aims to simplify working with directed graph data structures by adding more features such as storing and retrieving nodes directly from the graph, getting all neighbors of a node, and some basic algorithm such as shortest path.
🎁 Features
- Stores nodes directly in the graph for easy access
- Access to all nodes and edges in the graph (get_node & get_all_nodes)
- Access to all neighbors of a node (outgoing_edges)
- Shortest path algorithm
⚡️ Implementation
- Wraps petgraph under the hood
- Stores relations in a matrix graph and nodes in a hashmap
- Supports multiple implementations via storage trait pattern
- Adds proper error handling
🚀 Install
Just run:
Alternatively, add the following to your Cargo.toml
= "current_version"
⭐ Usage
See:
use *;
🙏 Credits
The project took inspiration from:
👨💻👩💻 Contribution
Contributions are welcomed especially related to documentation, example code, and fixes. If unsure where to start, just open an issue and ask.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in deep_causality by you, shall be licensed under the MIT licence, without any additional terms or conditions.
📜 Licence
This project is licensed under the MIT license.
💻 Author
- Marvin Hansen, GitHub.
- Github GPG key ID: 369D5A0B210D39BC
- GPG Fingerprint: 4B18 F7B2 04B9 7A72 967E 663E 369D 5A0B 210D 39BC