org.clojars.lassemaatta/lein-medusa

Parse and export re-frame subscription graph


License
EPL-1.0

Documentation

lein-medusa

Clojars Project

A simple Leiningen plugin which parses and visualizes your re-frame project.

At the moment supports parsing the re-frame subscription hierarchy.

Supported output formats (either to file or stdout):

Usage

Use this for user-level plugins:

Put [lein-medusa "0.1.2-SNAPSHOT"] into the :plugins vector of your :user profile.

Use this for project-level plugins:

Put [lein-medusa "0.1.2-SNAPSHOT"] into the :plugins vector of your project.clj.

Example usage (print result as a map to stdout):

$ lein medusa

Example usage (write result in plantuml format to file):

$ lein medusa --graph --depth 4 --plantuml --output my_graph.plantuml

Known issues / limitations

  • There are several ways how libraries can be referenced in a (ns) declaration. We will most likely fail when parsing some of them.

License

Copyright © 2018

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.