/codeflow

Flow graphs for your code

Primary LanguagePython

codeflow

Visualize your code to fail faster. Originally inspired by this blog post.

Currently planned languages include:

  • Groovy
  • Python

Currently planned visualizations include:

  • control flow graph
  • data flow graph
  • sequence diagram

For the language-specific tool, visit the corresponding subdirectory for further instructions.

Usage

To install Mermaid:

npm install -g @mermaid-js/mermaid-cli

To use the watcher script to automatically generate diagrams:

../watch.sh example.py 'codeflow example.py | mmdc -q -i- -o example.png'