projects
/
javainspect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated example code
[javainspect.git]
/
src
/
test
/
java
/
eu
/
svjatoslav
/
inspector
/
java
/
structure
/
example
/
RenderJavaInspect.java
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
(executable)
--- 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);
// the object.
graph.add(graph);
- // Add some random class to the graph.
+ // A
lso a
dd some random class to the graph.
graph.add(Utils.class);
graph.add(Utils.class);
+ // Keep intermediary GraphViz DOT file for reference.
+ graph.setKeepDotFile(true);
+
// Produce bitmap image titled "JavaInspect.png" to the user Desktop
// 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 {
}
public static void main(final String[] args) throws FileNotFoundException {