#bindings #autocxx #drawing #graph #built #autogen

sys ogdf-sys

Unsafe Rust bindings to the OGDF graph drawing library built with autocxx

3 unstable releases

Uses new Rust 2024

new 0.3.1 Feb 8, 2026
0.3.0 Feb 8, 2026
0.1.0 Jan 13, 2026

#275 in Science


Used in graphum

GPL-2.0-only OR GPL-3.0-only

4.5MB
1.5K SLoC

C++ 1K SLoC Rust 475 SLoC

ogdf-sys

Raw FFI bindings to OGDF, the Open Graph Drawing Framework, generated via autocxx/cxx. Builds a static OGDF from vendored sources---no network access required.

What's Included

  • graph::PlanarSubgraph: SPQR-based planar subgraph extraction.
  • Boyer--Myrvold: Planarity test with Kuratowski witness.
  • autogen module: Full autogenerated C++ bindings.

License

GPL-2.0-only OR GPL-3.0-only, with linking exceptions (inherited from OGDF). See LICENSE, LICENSE_GPL_v2.txt, and LICENSE_GPL_v3.txt.

Dependencies

~2.5–7MB
~139K SLoC