X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Finspector%2Fjava%2Fstructure%2Fexample%2FRenderJavaInspect.java;h=7d9eb807b030dc4b9a550eb747aa65c72f189f09;hb=94b2a818903a8ec1579dce828b47076c53f435ab;hp=93dead5c89707d080e99da8a37cba54bd60a6ba0;hpb=62e7738042b3cdcfb4d0973220eaa9be9754d755;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 93dead5..7d9eb80 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 @@ -1,7 +1,7 @@ /* * JavaInspect - Utility to visualize java software * Copyright (C) 2013-2015, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License * or later as published by the Free Software Foundation. @@ -49,10 +49,10 @@ public class RenderJavaInspect { // as in the following example. // Add some object to the graph. - graph.addObject(graph); + graph.add(graph); // Add some class to the graph. - graph.addClass(Utils.class); + graph.add(Utils.class); // Produce bitmap image titled "JavaInspect.png" to the user Desktop // directory and keep intermediary GraphViz DOT file for reference.