typed_graph

Crates.iotyped_graph
lib.rstyped_graph
version0.4.0
created_at2024-01-15 11:33:55.706102+00
updated_at2025-06-12 07:54:32.022436+00
descriptionStaticly typed graph library
homepage
repositoryhttps://github.com/build-aau/typed_graph
max_upload_size
id1100253
size459,067
Martin Pinholt (buildMapi)

documentation

README

typed_graph

Graph data structure with an enforcable schema

Crates.io docs.rs

typed_graph is an alternative to petgraph that focuses more on functionality rather than performance.

The main guarantees typed_graph provides:

  • Consistent node and edge weight types
  • Custom keys for all nodes and edges
  • Type safe convertion from one schema to another
  • Simple traversal API
  • Preserves outgoing edge order

Getting Started

For a comprehensive overview on how to setup and use typed_graph see the json_graph example in the example folder

Other crates

  • typed_graph_cli: Provides a language for auto generating staticly typed schemas
  • typed_graph_py: Port of typed_graph to python
Commit count: 12

cargo fmt