Skip to content
This repository

Turning ASCII art DAGs into PNGs since 2012

branch: master

Parse asterisks as nodes

This might need some refinement in order to satisfy #18, since sometimes
asterisks are used to represent "more history happened here, but we
don't care what exactly".
latest commit 5de626534c
Adam Roben authored April 16, 2012
Octocat-spinner-32 bin Rename Picasso to AsciiDag March 29, 2012
Octocat-spinner-32 lib Parse asterisks as nodes April 16, 2012
Octocat-spinner-32 test Parse asterisks as nodes April 16, 2012
Octocat-spinner-32 .gitignore Add a .gitignore March 28, 2012
Octocat-spinner-32 .travis.yml Add Travis CI config file April 15, 2012
Octocat-spinner-32 LICENSE Initial commit March 28, 2012
Octocat-spinner-32 Only show build status for master branch in README April 15, 2012
Octocat-spinner-32 Rakefile Parse node positions March 28, 2012


AsciiDag is a script that converts ASCII art of directed acyclic graphs (DAGs), typically representing the history of a Git repository, into pretty pictures.

I.e., it turns this:

       A---B---C topic
 D---E---F---G master

…into this:



Given a graph.txt file that contains an ASCII DAG:

$ asciidag graph.txt graph.png


AsciiDag's Git repo is available on GitHub, and can be browsed at:

and cloned with:

git clone git://

Build Status


If you'd like to hack on AsciiDag, follow these instructions:

  1. Fork the project to your own account
  2. Clone down your fork
  3. Create a thoughtfully named topic branch to contain your change
  4. Hack away
  5. Add tests and make sure everything still passes by running rake
  6. If you are adding new functionality, document it in
  7. Do not change the version number, I will do that on my end
  8. If necessary, rebase your commits into logical chunks, without errors
  9. Push the branch up to GitHub
  10. Send a pull request for your branch


Copyright © 2012 Adam Roben. See the LICENSE file for details.

Something went wrong with that request. Please try again.