#directed-graph #graph-node #graph #port #graph-algorithms #weight

portgraph

Data structure library for directed graphs with first-level ports

17 releases (10 breaking)

0.12.1 Jun 3, 2024
0.12.0 Mar 1, 2024
0.11.0 Dec 14, 2023
0.10.0 Oct 20, 2023
0.1.0 Mar 2, 2023

#105 in Data structures

Download history 573/week @ 2024-02-25 559/week @ 2024-03-03 264/week @ 2024-03-10 288/week @ 2024-03-17 120/week @ 2024-03-24 292/week @ 2024-03-31 392/week @ 2024-04-07 981/week @ 2024-04-14 359/week @ 2024-04-21 1282/week @ 2024-04-28 728/week @ 2024-05-05 1093/week @ 2024-05-12 1481/week @ 2024-05-19 1532/week @ 2024-05-26 2055/week @ 2024-06-02 1510/week @ 2024-06-09

6,585 downloads per month
Used in 7 crates (4 directly)

Apache-2.0

345KB
7.5K SLoC

portgraph

build_status crates msrv codecov

Data structure library for directed graphs with first-level ports. Includes secondary data structures for node and port weights, and node hierarchies.

Please read the API documentation here.

Features

  • pyo3: Enable Python bindings via pyo3.
  • serde: Enable serialization and deserialization via serde.
  • petgraph: Enable petgraph interoperability by implementing the petgraph::visit traits for PortGraph and MultiPortGraph.

Recent Changes

See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.

Development

See DEVELOPMENT.md for instructions on setting up the development environment.

License

This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Dependencies

~1.2–8.5MB
~71K SLoC