Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.03 KB

File metadata and controls

25 lines (22 loc) · 1.03 KB

Setup

  • Make sure you have a c++ compiler installed
    • Windows: I've had success using the MSVC 2022 compiler toolset. DON'T use a "developer command prompt" when you run the commands below
  • Install uv
    • Mac/Linux/WSL curl -LsSf https://astral.sh/uv/install.sh | sh
    • Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Warning

You may have to restart your Windows machine after installing uv

  • sync environment uv sync
  • run code uv run test.py

How to Edit Dependencies for "test.py"

The --dev flag adds a package as a local development dependency. When another application depends on pathfinding, only project dependencies are installed.

  • Add uv add --dev "[package-name] [lower-num]>=, <[higher-num]"
  • Remove uv remove --dev [package-name]

How to use

Bindings exposes the classes:

  • Point
  • VizGraph

VizGraph has a search method. Use constructVizGraph to build viz graphs