Skip to content

CQCL/portgraph

Repository files navigation

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).