Skip to content

ogdf-py

Choose a tag to compare

@shakfu shakfu released this 13 Jul 16:27
· 19 commits to main since this release

Changes since the last release

Added

  • Planar layouts: FPPLayout, PlanarStraightLayout, PlanarDrawLayout, and MixedModelLayout - straight-line and mixed-model planar grid drawings, completing the planar-drawing family alongside SchnyderLayout. Each validates that the input is a simple planar graph with at least 3 nodes.

  • Shortest paths: a_star_search, point-to-point A* with an optional admissible heuristic; returns the path length and edges, or None if the target is unreachable.

  • Crossing minimization: crossing_number (heuristic minimum crossings via the subgraph planarizer) and insert_edges (routes a chosen set of edges through the otherwise-planar rest of the graph and returns, per edge, the original edges it crosses).

  • Flow / cut and connectivity: min_st_cut (directed or undirected s-t minimum cut, returning the value and the cut edges) and node_connectivity / edge_connectivity (global and local/Menger k-connectivity).

  • Documentation: expanded the coverage checklist with a priority roadmap.