Connection
a Swift path-finding library. Its primary goal is to extend Apple's GameplayKit framework.
Features
- [x] Weighted connections.
- [x] Total path weight.
- [x] Associated values support.
- [x] Find the shortest path between multiple origins and destinations.
Usage
Connection defines two new generic classes: Node
and Graph
, which are, respectively, GKGraphNode
and GKGraph
counterparts.
You can find many more examples in the Tests
folder.
Installation
Connection is distributed using the Swift Package Manager. To install it into a project, follow this tutorial and use this repository URL: https://github.com/zntfdr/Connection.git
.