Skip to content

paxdotdev/graphia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages