Project

depviz

0.0
No commit activity in last 3 years
No release in over 3 years
Generates a complete dependency tree from disparate dependencies to an SVG document.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0, ~> 0.1
~> 0.5, >= 0.5.3
>= 0.1.0, ~> 0.1
 Project Readme

Introducing the depviz gem

require 'depviz'


s = "
ra0
  sshfs
  apache

rse
  spspublog
  reg
  apache
  sps

elis
  ra0

reg
  sshfs
"

File.write 'dependencies.svg', DepViz.new(s).to_svg

The above example reads a string containing branches of disparate dependencies from various local services. The depviz gem generates 1 tree diagram from left to right representing a consolidation of dependencies and outputs it to an SVG file.

Output:

An example of dependencies in a tree layout

depviz tree gem pxgraphviz graphviz dependencies