smallgraph 0.0.6

A small graph based on smallvec
Documentation

smallgraph

[dependencies]
executor = "0.0"

A graph implementation based on smallvec and generational indexes to increase memory cache locality of node members.

  • #![no_std]
  • smalltree implementation is built on smallgraph

Example

struct Foo;

fn main(){
  let g = smallgraph::SmallGraph::new();
  let f1 = g.insert(Foo{});
  let f2 = g.insert(Foo{});
  g.connect(f1,f2);
}

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in smallgraph by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.