Ver Fonte

add comments to main package

Eren Yilmaz há 5 anos atrás
pai
commit
d70ebd0a23
1 ficheiros alterados com 3 adições e 0 exclusões
  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 );
     }