Browse Source

add comments to main package

Eren Yilmaz 6 years ago
parent
commit
d70ebd0a23
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/Main.java

+ 3 - 0
src/main/Main.java

@@ -17,9 +17,12 @@ public class Main {
      * @param args the command line arguments, currently not in use
      */
     public static void main(String[] args) {
+        // read a graph from a file
         Reader r = new Reader( "logo.json" );
         LayeredGraphNode graph = r.readInputGraph();
+        // compute some initial position for the graph
         SimpleNodePlacement.placeNodes( graph );
+        // create the view
         new MainView( graph );
     }