Skip to content

Commit

Permalink
Adds documentation for ellipse and square shapes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs authored Dec 12, 2022
1 parent 9867cdd commit e9bb860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The graph below shows the relationship of the products and targets in this packa

<img width="400" src="./sample-swift-package.png" alt="Example graph showing the dependencies of this package." />

Nodes shaped as an ellipse represent products, e.g. the libraries in a Swift package, and the square nodes represent targets.

## 🚀 Getting Started

Start off by installing the tool with [Homebrew](https://brew.sh).
Expand Down
6 changes: 5 additions & 1 deletion Sources/Main/DependencyGraph.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ Valid values are:
var rankSpacing: Float?

static let configuration = CommandConfiguration(
abstract: "Generates graphs of the dependencies in an Xcode project or Swift package.",
abstract: """
Generates graphs of the dependencies in an Xcode project or Swift package.
Nodes shaped as an ellipse represent products, e.g. the libraries in a Swift package, and the square nodes represent targets.
""",
version: "1.0.0"
)

Expand Down

0 comments on commit e9bb860

Please sign in to comment.