Swiftpack.co - nmandica/DirectedGraph as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by nmandica.
nmandica/DirectedGraph 0.2.5
SwiftUI package for displaying directed graphs
⭐️ 28
🕓 51 weeks ago
iOS macOS
.package(url: "https://github.com/nmandica/DirectedGraph.git", from: "0.2.5")


Build status Swift 5 compatible SwiftPM compatible Maintainability Platform iOS Platform macOS GitHub license

SwiftUI package for displaying directed graphs.

DirectedGraph example


In Xcode go to File -> Swift Packages -> Add Package Dependency… and paste the repo's url: https://github.com/nmandica/DirectedGraph


Import the package in the file you would like to use it: import DirectedGraph

You can display a graph by adding a GraphView to your view.

Minimum Requirements

DirectedGraph Swift Xcode Platforms
DirectedGraph 0.1 Swift 5.2 Xcode 11.0 iOS 13.0 / macOS 10.15



DirectedGraph is available under the MIT license. See the LICENSE file for more info.


Stars: 28
Last commit: 22 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

51 weeks ago

Add public initializers to SimpleGraph, SimpleNode and SimpleEdge.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics