graph-types

Crates.iograph-types
lib.rsgraph-types
version0.0.13
sourcesrc
created_at2023-05-07 06:42:36.155367
updated_at2023-05-15 09:14:54.185919
descriptionShared types for graph theory.
homepage
repositoryhttps://github.com/oovm/graph-rs
max_upload_size
id858985
size66,123
SasakiSaki (oovm)

documentation

https://docs.rs/graph-types

README

Design

graph-types divides the graph into adjacency storage engine and entry storage engine.

Adjacency Storage Engine

The core property of a graph is nodes and edges.

There are many different ways to represent a graph.

Such as adjacency matrix, adjacency list, adjacency set, etc.

The most common one is adjacency list.

Entry Storage Engine

Other properties of the graph are stored in the entry storage engine.

For example weights, labels, colors, etc.

Each of the entry can be stored in different data structures.

For example, weights can be stored in a vector, labels can be stored in a hash map, some complex structures can even be stored in disk or a database.

Commit count: 38

cargo fmt