projects
/
javainspect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renders to SVG in call to graphviz *dot*
[javainspect.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
inspector
/
java
/
structure
/
ClassGraph.java
diff --git
a/src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java
b/src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java
index
1488b1c
..
c6b6cbf
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java
+++ b/
src/main/java/eu/svjatoslav/inspector/java/structure/ClassGraph.java
@@
-93,7
+93,7
@@
public class ClassGraph {
public void generateGraph(final String resultFileName) {
final String dotFilePath = targetDirectory + resultFileName + ".dot";
public void generateGraph(final String resultFileName) {
final String dotFilePath = targetDirectory + resultFileName + ".dot";
- final String imageFilePath = targetDirectory + resultFileName + ".
pn
g";
+ final String imageFilePath = targetDirectory + resultFileName + ".
sv
g";
System.out.println("Dot file path:" + dotFilePath);
System.out.println("Dot file path:" + dotFilePath);
@@
-106,7
+106,7
@@
public class ClassGraph {
// execute GraphViz to visualize graph
try {
Runtime.getRuntime()
// execute GraphViz to visualize graph
try {
Runtime.getRuntime()
- .exec(new String[]{"dot", "-T
pn
g", dotFilePath, "-o",
+ .exec(new String[]{"dot", "-T
sv
g", dotFilePath, "-o",
imageFilePath}).waitFor();
} catch (final InterruptedException ignored) {
}
imageFilePath}).waitFor();
} catch (final InterruptedException ignored) {
}