SkillAgentSearch skills...

Igviz

Visualize an integrant configuration

Install / Use

/learn @madstap/Igviz
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated1y ago
Forks3

Languages

Clojure

Security Score

75/100

Audited on May 31, 2024

No findings