igviz

Integrant visualization


License
EPL-1.0

Documentation

igviz

Tiny library for visualizing an integrant system. The integrant equivalent of system-viz.

Usage

Dependency [igviz "0.1.0"]

(ns foo.bar
  (:require
   [integrant.core :as ig]
   [madstap.igviz :as igviz]))

(def my-system
  {::config :foo
   ::db {:config (ig/ref ::config)}
   ::server {:db (ig/ref ::db)
             :config (ig/ref ::config)}})

(comment
  (igviz/visualize my-system)
  )

Which will be visualized like this:

A vizualization of an example system

Use of this project requires that Graphviz is installed, which can be checked by running dot -V at the command line. If it's not installed, you can do the following:

platform directions
Linux install graphviz using your package manager
OS X use brew install graphiz or download the installer
Windows download the installer

Contributing

PRs and feature requests welcome.

License

Copyright © 2018 Aleksander Madland Stapnes

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