Crate simple_graph

Source
Expand description

Graph library with ability to serialize/deserialize Trivial Graph Format

Besides serialize/deserialize library can deal with graph algorithms such as Depth-first search (DFS) and Breadth-first search (BFS).

If you are looking for example visit Graph

Structs§

Graph
Directed graph data-structure with generic parameters
VertexId
Represents hash of vertex and is used to access the HashMap

Enums§

GraphOperationError
Describes possible errors that might happen when user interacts with graph
ParseGraphError
Describes possible errors that might happen during parsing the Trivial Graph Format

Traits§

Label
Trait used for serialization and deserialization of the Trivial Graph Format

Type Aliases§

Result
Custom Result type with two generic parameters for user convenience