Crate bag [] [src]

Bag

bag is a simple, insert only graph. It is simple to understand conceptually, and modify if needed. Data is represented as NodeIDs, which can be used to retrieve pointers to Nodes stored in the GraphStore. These Nodes point to their parents and children by holding their NodeIDs. These Nodes also hold a datatype <T> (the type of the node and graph), which you can use to store your program specific data.

Structs

GraphStore

A generic container for a graph

Node

A generic container for a node

Type Definitions

NodeID