"""Compatibility wrapper. This package was migrated from a flat module (graph.py) to a package layout: graph/__main__.py contains the original implementation. We re-export the public API so existing imports keep working. """ from __future__ import annotations from pathlib import Path PROJECT_ROOT: Path = Path(__file__).resolve().parents[3] from . import __main__ as _main # noqa: E402 __all__ = getattr(_main, "__all__", [n for n in dir(_main) if not n.startswith("_")]) # noqa: PLE0605 globals().update({name: getattr(_main, name) for name in __all__})