X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Finspector%2Fjava%2Fstructure%2Fexample%2FRenderJavaInspect.java;fp=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Finspector%2Fjava%2Fstructure%2Fexample%2FRenderJavaInspect.java;h=2f535b19db955690a21664cc322ed8f9cebc47f4;hb=7525c42e636be80e34c890337859bf5f243ed0e8;hp=181ac099d20dfbfec8d91a02c787f7a259817a1d;hpb=c508bf97e017675b49df989b7f5a64cbd31d9aa3;p=javainspect.git diff --git a/src/test/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java b/src/test/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java index 181ac09..2f535b1 100755 --- a/src/test/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java +++ b/src/test/java/eu/svjatoslav/inspector/java/structure/example/RenderJavaInspect.java @@ -47,12 +47,15 @@ public class RenderJavaInspect { // the object. graph.add(graph); - // Add some random class to the graph. + // Also add some random class to the graph. graph.add(Utils.class); + // Keep intermediary GraphViz DOT file for reference. + graph.setKeepDotFile(true); + // Produce bitmap image titled "JavaInspect.png" to the user Desktop - // directory and keep intermediary GraphViz DOT file for reference. - graph.setKeepDotFile(true).generateGraph("JavaInspect"); + // directory + graph.generateGraph("JavaInspect"); } public static void main(final String[] args) throws FileNotFoundException {