Code visualization
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 22 Jan 2017 21:12:30 +0000 (23:12 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 22 Jan 2017 21:12:30 +0000 (23:12 +0200)
doc/code graph/.thumbnails/gui (2C27AF7B).jpeg [new file with mode: 0644]
doc/code graph/.thumbnails/gui (572F58CF).jpeg [new file with mode: 0644]
doc/code graph/.thumbnails/gui (D68ADBAD).jpeg [new file with mode: 0644]
doc/code graph/.thumbnails/metadata_6.dat [new file with mode: 0644]
doc/code graph/.thumbnails/raster engine (7A403C30).jpeg [new file with mode: 0644]
doc/code graph/.thumbnails/raster engine (BAF082F6).jpeg [new file with mode: 0644]
doc/code graph/.thumbnails/raster engine (CCF2A95F).jpeg [new file with mode: 0644]
doc/code graph/gui.png [new file with mode: 0644]
doc/code graph/index.html [new file with mode: 0644]
doc/code graph/raster engine.png [new file with mode: 0644]
src/test/java/eu/svjatoslav/sixth/e3d/VisualizeCode.java [new file with mode: 0644]

diff --git a/doc/code graph/.thumbnails/gui (2C27AF7B).jpeg b/doc/code graph/.thumbnails/gui (2C27AF7B).jpeg
new file mode 100644 (file)
index 0000000..22acc80
Binary files /dev/null and b/doc/code graph/.thumbnails/gui (2C27AF7B).jpeg differ
diff --git a/doc/code graph/.thumbnails/gui (572F58CF).jpeg b/doc/code graph/.thumbnails/gui (572F58CF).jpeg
new file mode 100644 (file)
index 0000000..449edc7
Binary files /dev/null and b/doc/code graph/.thumbnails/gui (572F58CF).jpeg differ
diff --git a/doc/code graph/.thumbnails/gui (D68ADBAD).jpeg b/doc/code graph/.thumbnails/gui (D68ADBAD).jpeg
new file mode 100644 (file)
index 0000000..3bc2e66
Binary files /dev/null and b/doc/code graph/.thumbnails/gui (D68ADBAD).jpeg differ
diff --git a/doc/code graph/.thumbnails/metadata_6.dat b/doc/code graph/.thumbnails/metadata_6.dat
new file mode 100644 (file)
index 0000000..b3f553e
Binary files /dev/null and b/doc/code graph/.thumbnails/metadata_6.dat differ
diff --git a/doc/code graph/.thumbnails/raster engine (7A403C30).jpeg b/doc/code graph/.thumbnails/raster engine (7A403C30).jpeg
new file mode 100644 (file)
index 0000000..c29574e
Binary files /dev/null and b/doc/code graph/.thumbnails/raster engine (7A403C30).jpeg differ
diff --git a/doc/code graph/.thumbnails/raster engine (BAF082F6).jpeg b/doc/code graph/.thumbnails/raster engine (BAF082F6).jpeg
new file mode 100644 (file)
index 0000000..dccdbe7
Binary files /dev/null and b/doc/code graph/.thumbnails/raster engine (BAF082F6).jpeg differ
diff --git a/doc/code graph/.thumbnails/raster engine (CCF2A95F).jpeg b/doc/code graph/.thumbnails/raster engine (CCF2A95F).jpeg
new file mode 100644 (file)
index 0000000..093d23f
Binary files /dev/null and b/doc/code graph/.thumbnails/raster engine (CCF2A95F).jpeg differ
diff --git a/doc/code graph/gui.png b/doc/code graph/gui.png
new file mode 100644 (file)
index 0000000..48e0751
Binary files /dev/null and b/doc/code graph/gui.png differ
diff --git a/doc/code graph/index.html b/doc/code graph/index.html
new file mode 100644 (file)
index 0000000..2c3030f
--- /dev/null
@@ -0,0 +1,21 @@
+<HTML>
+<HEAD>
+    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/>
+</HEAD>
+<BODY bgcolor="#000000" alink="#50ffff" link="#50ffff" vlink="#ff50ff" text="#ffffff">
+<!-- DirListGen -->
+<!-- Directory Listing Generator by Svjatoslav Agejenko. E-mail: svjatoslav@svjatoslav.eu, homepage: http://svjatoslav.eu -->
+<font color="#ffffff">
+<CENTER><H1>Gallery</H1></CENTER>
+<CENTER><H2></H2></CENTER>
+<TABLE>
+
+<TR><TD><br></TD></TR>
+</TABLE>
+<div style="float:left; margin: 10px;"><a href="gui.png">
+<img border="0" src=".thumbnails/gui%20%282C27AF7B%29.jpeg"/></a><br/>
+<b>gui</b><br/>(<a href="gui.png">3360x3016</a>, <a href=".thumbnails/gui%20%28572F58CF%29.jpeg">1680x1508</a>, <a href=".thumbnails/gui%20%28D68ADBAD%29.jpeg">840x754</a>)
+</div><div style="float:left; margin: 10px;"><a href="raster%20engine.png">
+<img border="0" src=".thumbnails/raster%20engine%20%28BAF082F6%29.jpeg"/></a><br/>
+<b>raster engine</b><br/>(<a href="raster engine.png">2845x4041</a>, <a href=".thumbnails/raster%20engine%20%287A403C30%29.jpeg">1422x2020</a>, <a href=".thumbnails/raster%20engine%20%28CCF2A95F%29.jpeg">711x1010</a>)
+</div></font></BODY></HTML>
diff --git a/doc/code graph/raster engine.png b/doc/code graph/raster engine.png
new file mode 100644 (file)
index 0000000..90c63cf
Binary files /dev/null and b/doc/code graph/raster engine.png differ
diff --git a/src/test/java/eu/svjatoslav/sixth/e3d/VisualizeCode.java b/src/test/java/eu/svjatoslav/sixth/e3d/VisualizeCode.java
new file mode 100644 (file)
index 0000000..bd96a75
--- /dev/null
@@ -0,0 +1,26 @@
+package eu.svjatoslav.sixth.e3d;
+
+import eu.svjatoslav.inspector.java.structure.ClassGraph;
+
+public class VisualizeCode {
+
+    public static void main(String[] args) {
+        renderGui();
+        renderRasterGrphicsEngine();
+    }
+
+    private static void renderGui() {
+        final ClassGraph graph = new ClassGraph();
+        graph.addProject("./src/main/");
+        graph.whitelistClassPattern("eu.svjatoslav.sixth.e3d.gui.*");
+        graph.generateGraph("gui");
+    }
+
+    private static void renderRasterGrphicsEngine() {
+        final ClassGraph graph = new ClassGraph();
+        graph.addProject("./src/main/");
+        graph.whitelistClassPattern("eu.svjatoslav.sixth.e3d.renderer.raster.*");
+        graph.generateGraph("raster engine");
+    }
+
+}