TaskWarrior Dependency Visualization
Visualizes dependencies between TaskWarrior tasks.
Given a set of interdependent tasks described in the TaskWarrior tutorial, the tasks are
- Exported from TaskWarrior as JSON, then
- Piped into
twdeps, and finally
- The output is directed to a PNG file.
For the impatient: The JSON export is also available as party.json. If you download it, the command
$ twdeps -f png party.json > party.png
party.png in the current directory.
$ gem install twdeps
# Create a dependency graph as PNG and pipe it to a file # See [Limitations](Limitations) below for why we need the extra task parms task export rc.json.array=on rc.verbose=nothing | twdeps > deps.png # Same but specify output format task export rc.json.array=on rc.verbose=nothing | twdeps --format svg > deps.svg # Create a graph from a previously exported file task export rc.json.array=on rc.verbose=nothing > tasks.json cat tasks.json | twdeps > deps.png # Display graph in browser without creating an intermediate file # Requires bcat to be installed task export rc.json.array=on rc.verbose=nothing | twdeps --format svg | bcat
bcat is required for piping into a browser.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request