continue;
result.append(" " + interfaceDescriptor.getGraphId() + " -> "
- + getGraphId() + "[style=\"dotted, tapered\", color=\""
+ + getGraphId() + "[style=\"dotted\", color=\""
+ interfaceDescriptor.getInterfaceColor()
- + "\", penwidth=20, dir=\"forward\"];\n");
+ + "\", penwidth=10, dir=\"forward\"];\n");
}
}
+ "\n");
result.append(" " + superClass.getGraphId() + " -> " + getGraphId()
- + "[style=\"tapered\", color=\""
- + superClass.getSuperClassColor()
+ + "[ color=\"" + superClass.getSuperClassColor()
+ "\", penwidth=10, dir=\"forward\"];\n");
}
public String getInterfaceColor() {
if (interfaceColor == null)
- interfaceColor = Utils.getNextLightColor();
+ interfaceColor = Utils.getNextDarkColor();
return interfaceColor;
}
/*
* 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.
import eu.svjatoslav.inspector.java.structure.ClassGraph;
import eu.svjatoslav.inspector.java.structure.example.structure.SampleClass;
+import eu.svjatoslav.inspector.java.structure.example.structure.SampleClass2;
public class RenderDemoClasses {
final ClassGraph graph = new ClassGraph();
graph.addClass(SampleClass.class);
+ graph.addClass(SampleClass2.class);
- graph.generateGraph("example");
+ graph.generateGraph("example", false);
}
}