- <h1>JavaInspect - Utility to visualize java software</h1>\r
- <a\r
- href="http://www2.svjatoslav.eu/gitweb/?p=javainspect.git;a=snapshot;h=HEAD;sf=tgz">Download</a>\r
- \r
- <a\r
- href="http://www2.svjatoslav.eu/gitbrowse/javainspect/doc/index.html">Online\r
- homepage</a> \r
- <a href="http://svjatoslav.eu/programs.jsp">Other applications\r
- hosted on svjatoslav.eu</a>\r
- <pre>\r
+ <h1>JavaInspect - Utility to visualize java software</h1>\r
+ <a\r
+ href="http://www2.svjatoslav.eu/gitweb/?p=javainspect.git;a=snapshot;h=HEAD;sf=tgz">Download</a>\r
+ \r
+ <a\r
+ href="http://www2.svjatoslav.eu/gitbrowse/javainspect/doc/index.html">Online\r
+ homepage</a> \r
+ <a href="http://svjatoslav.eu/programs.jsp">Other applications\r
+ hosted on svjatoslav.eu</a>\r
+ <pre>\r
- Goal: simplify/speed up understanding the computer program code by\r
- automatically visualizing its structure.\r
- \r
- <br/><br/>\r
- JavaInspect is a Java library that you can embed into your Java project\r
- with a few lines of Maven configuration and then visualize any part of\r
- your Java program structure with few simple JavaInspect API calls at\r
- application runtime.\r
+ Goal: simplify/speed up understanding the computer program code by\r
+ automatically visualizing its structure.\r
- <br />\r
- <br /> JavaInspect uses Java reflection to discover class relations and\r
- structure and produces GraphViz dot file that describes your\r
- application. Then launches GraphViz to generate bitmap graph in PNG\r
- format on your Desktop directory.\r
+ <br/><br/>\r
+ JavaInspect is a Java library that you can embed into your Java project\r
+ with a few lines of Maven configuration and then visualize any part of\r
+ your Java program structure with few simple JavaInspect API calls at\r
+ application runtime.\r
+ <br />\r
+ <br /> JavaInspect uses Java reflection to discover class relations and\r
+ structure and produces GraphViz dot file that describes your\r
+ application. Then launches GraphViz to generate bitmap graph in PNG\r
+ format on your Desktop directory.\r
- This is simple utility, quickly written. Tested on Linux (can be\r
- relatively simply ported to other operating systems too). So far I used\r
- it for my own needs. There might be bugs and missing features. Feedback\r
- and code contributions are welcome.\r
+ <h2>Current status</h2>\r
+ This is simple utility, quickly written. Tested on Linux (can be\r
+ relatively simply ported to other operating systems too). So far I used\r
+ it for my own needs. There might be bugs and missing features. Feedback\r
+ and code contributions are welcome.\r
- Example visualization of\r
- <a href="http://www2.svjatoslav.eu/gitbrowse/sixth/doc/">Sixth</a>\r
- project:\r
- <a\r
- href="http://www2.svjatoslav.eu/gitbrowse/sixth/doc/architecture%20graphs/index.html">architecture\r
- graphs</a>\r
+ <h2>Example graphs</h2>\r
- <br />\r
- <br /> A very simple example:\r
- <br />\r
- <a href="example.png"><img src="example.resized.png" /></a>\r
+ Example visualization of\r
+ <a href="http://www2.svjatoslav.eu/gitbrowse/sixth/doc/">Sixth</a>\r
+ project:\r
+ <a\r
+ href="http://www2.svjatoslav.eu/projects/sixth/codegraphs/">architecture\r
+ graphs</a>\r
- // While classes and objects can be immediately passed to ClassGraph\r
- // constructor as arguments, it is also possible to add then one by one\r
- // as in the following example.\r
+ // While classes and objects can be immediately passed to ClassGraph\r
+ // constructor as arguments, it is also possible to add then one by one\r
+ // as in the following example.\r
- // Produce bitmap image titled "JavaInspect.png" to the user Desktop\r
- // directory and keep intermediary GraphViz DOT file for reference.\r
- graph.generateGraph("JavaInspect", true);\r
+ // Produce bitmap image titled "JavaInspect.png" to the user Desktop\r
+ // directory and keep intermediary GraphViz DOT file for reference.\r
+ graph.generateGraph("JavaInspect", true);\r
- // Recursively scan current directory for Java source code and attempt\r
- // to detect class names from there to be added to the graph.\r
- graph.addProject(".");\r
+ // Recursively scan current directory for Java source code and attempt\r
+ // to detect class names from there to be added to the graph.\r
+ graph.addProject(".");\r
- // Blacklist example classes from being shown on the graph\r
- graph.getFilter().blacklistClassPattern(\r
- "eu.svjatoslav.inspector.java.structure.example.*");\r
+ // Blacklist example classes from being shown on the graph\r
+ graph.getFilter().blacklistClassPattern(\r
+ "eu.svjatoslav.inspector.java.structure.example.*");\r
- // do not show single classes with no relationships on the graph\r
- graph.hideOrphanedClasses();\r
+ // do not show single classes with no relationships on the graph\r
+ graph.hideOrphanedClasses();\r
- // Produce bitmap image titled "JavaInspect full project.png" to the\r
- // user Desktop directory.\r
- graph.generateGraph("JavaInspect full project");\r
+ // Produce bitmap image titled "JavaInspect full project.png" to the\r
+ // user Desktop directory.\r
+ graph.generateGraph("JavaInspect full project");\r