| Crates.io | graphia |
| lib.rs | graphia |
| version | 0.1.0 |
| created_at | 2024-09-19 04:30:10.635876+00 |
| updated_at | 2024-09-19 04:30:10.635876+00 |
| description | A simple graph data structure |
| homepage | |
| repository | https://github.com/paxdotdev/graphia |
| max_upload_size | |
| id | 1379891 |
| size | 5,855 |
A simple graph data structure.
📣 Built for Pax: a user interface engine with an integrated vector design tool, built in Rust.
Graphia's Graph tracks nodes as Arc<Mutex<_>> and edges with Weak<_>
This separation of Arc / Weak evades memory leaks that might otherwise happen with Arc cycles, while maintaining the flexibility, memory management, and distinct cloning characteristics of Arc. As a result, this library is very simple and has no dependencies.
See the tests