Skip to main content

Python tool to draw graphs for Mikado refactoring

Project description

Mikado Graph

Python tool to draw graphs for Mikado refactoring.

Quickstart

Start by saving this description file as as example.txt

_ Extend X with Y
    x Remove flag Z from X
        x Replace D with E
            x Check C
    # Ignore this line
    _ Add field X in Y
        x Do fix A
        _ Add B
        x Check C

Then run

pip install mikado-graph
mikado example.txt --view

A new window should display the graph below

Example graph

Explore the options using --help

mikado --help

And learn more about the description file format below.

Graph description symbols

Parent/child dependency is encoded by indentation.

There are three kinds of nodes in the graph

  • Comments are prefixed by one of the following symbol: //, #
  • Done tasks (drawn in green) are prefixed by one of the following symbols: v, V, x, X
  • Pending tasks (drawn in red) are prefixed by any symbol that is not used by the above two choices. We recommend using _ to keep the description file human readable

Dev & Deploy

Deploy by running

python setup.py sdist bdist_wheel
twine upload dist/*

Known issues

  • graphviz will always save a temporary file when asked to render the graph.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mikado_graph-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mikado_graph-0.1.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file mikado_graph-0.1.5.tar.gz.

File metadata

  • Download URL: mikado_graph-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mikado_graph-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1dc0527a61fd83020293f8d0daf70c96ca03d8f7e636b32c2702e1edfce7fd80
MD5 76083a2d40b7bc11e8a55e9d1c800625
BLAKE2b-256 ef9598b3ab0327012e4c0303ad46efec1dcafd8e236e5631b1cce5b1360f91ac

See more details on using hashes here.

File details

Details for the file mikado_graph-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mikado_graph-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5997550b399a74cdb9fd7166ea09c97571f726348658f020672508d25292e6
MD5 24e17b887047659eb2213d1238c8579a
BLAKE2b-256 d43f509a110d1d365470b68872a904b3dec0a597408559fcee47ed9aa7d58401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page