SwiftGraph for macOS by David Kopec

Download Source
by 1 person

(Click the stars to add your rating)

SwiftGraph is a pure Swift (no Cocoa) implementation of a graph data structure, appropriate for use on both iOS and OS X projects. It includes support for weighted, unweighted, directed, and undirected graphs. It uses generics to abstract away both the type of the vertices, and the type of the weights.

It includes copious in-source documentation, some unit tests, as well as utility functions for doing things like breadth-first search, depth-first search, and djikstra's algorithm.

License:
MIT
Language:
Swift
Sponsored with ❤️ by Instabug
Receive Detailed Feedback and Debug your iOS App 10x Faster
Instabug helps you collect feedback and bug/crash reports from your users and testers. Comprehensive reports are forwarded to Instabug’s dashboard including device details, network requests and most importantly, the reproduction steps. learn more.