Draw DAGs (directed acyclic graphs) as ASCII art, à la git log --graph
Project description
Overview
This is a direct port of the Git log graphing code, which draws directed acyclic commit graphs as ASCII art. It was done very mechnically and quickly, so the code is not Pythonic. Dependencies on Git specifics should be gone but look and feel remains.
This project is alpha quality and subject to breaking API changes.
If you are thinking about doing a large refactoring, please submit an issue for discussion first; I consider it potentially worth staying close to the Git source.
Usage
git clone https://github.com/sambrightman/asciidag.git
cd asciidag && pip install .
tests/demo.py
You likely need to use sudo for the install unless you work in a Python virtual environment or use the --user option to pip. Will soon be on PyPI.
- copyright:
© 2016 Sam Brightman
- license:
Mozilla Public License version 2.0, see LICENSE for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.