#directed-graph #graph-node #graph #port #weight #structure

portgraph

Data structure library for directed graphs with first-level ports

16 releases (10 breaking)

0.12.0 Mar 1, 2024
0.11.0 Dec 14, 2023
0.10.0 Oct 20, 2023
0.7.2 Jul 31, 2023
0.1.0 Mar 2, 2023

#145 in Data structures

Download history 425/week @ 2023-12-31 456/week @ 2024-01-07 398/week @ 2024-01-14 20/week @ 2024-01-21 179/week @ 2024-01-28 178/week @ 2024-02-04 94/week @ 2024-02-11 394/week @ 2024-02-18 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 206/week @ 2024-04-07

915 downloads per month
Used in 3 crates

Apache-2.0

340KB
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–9MB
~70K SLoC