graphia 0.1.0

A simple graph data structure
Documentation
  • Coverage
  • 87.5%
    7 out of 8 items documented0 out of 7 items with examples
  • Size
  • Source code size: 5.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • paxdotdev/graphia
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zackbrown

Graphia

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.

Usage

See the tests