[Home]History of SpringGraph

wiki home | RecentChanges | preferences | index | random

Revision 53 . . (edit) March 4, 2005 10:08 pm by Mike
Revision 52 . . (edit) September 15, 2004 12:38 pm by Mike
Revision 47 . . September 13, 2004 7:49 pm by Mike

Difference (from prior major revision) (minor diff, author diff)

Changed: 1c1

Configuration Visualization for Spring

SpringGraph is now known as SpringViz

Changed: 3,55c3
The Spring Framework provides an excellent infrastructure for wiring together applications (it provides a lot more than just that, but the wiring is what I'm interested in here). Wiring an application together with Spring involves maintaining XML files. Unfortunately, the XML can grow to be rather large, making a visualization tool desirable. SpringGraph provides that tool, although I hesitate to call it a "tool", since it's just an XSLT.


<img src="/weblog_img/spring_graph.jpg">

Example Spring configuration graph from "jpetstore" sample


SpringGraph uses XSLT to generate a "dot" notation file displayable by Graphviz. Graphviz provides high-quality display and export of "dot" files. You'll need to download Graphviz for your platform.

The below is a graph of my current project's Spring configuration. It's huge, so it's obviously unreadable here (see the PDF), but you get the idea.


<img src="/weblog_img/spring_graph_eplan.jpg">

Graph from my current project [PDF]




SpringGraph 1.1.1, 09/13/2004 Refactored XSLT to use "xsl:choose" instruction, rather than "xsl:if" (thanks to Iouri). springgraph1.1.1.jar
SpringGraph 1.1, 09/12/2004 Refactored the XSLT to improve structure (hopefully. Output changes: now "colorized", "local" refs are solid lines, "bean" refs are dotted lines, singletons are double-boxed, font is now helvetica, jar name change. springgraph1.1.jar
SpringGraph 1.0, 09/10/2004 First, unsteady steps. SpringGraph-1.0.jar



* The approach taken to implement SpringGraph came from Erik Burke's AntGraph utility. Thanks Eric!
* Graphviz for OS X really rocks! Thanks AT&T!

Back to Software
There was a naming conflict - SpringGraph was already extant (it's a Perl graphing library/utility), so I renamed my Spring configuration visualization utility to SpringViz.

wiki home | RecentChanges | preferences | index | random
Site Meter