Main.java 607 B

1234567891011121314151617181920212223242526
  1. package main;
  2. import graph.InitializeNodePositions;
  3. import graph.LayeredGraphNode;
  4. import graph.io.Reader;
  5. import view.MainView;
  6. /**
  7. * The main executable class. Starts the application.
  8. * @author kolja
  9. *
  10. */
  11. public class Main {
  12. /**
  13. * Will be run when the application is started.
  14. * @param args the command line arguments, currently not in use
  15. */
  16. public static void main(String[] args) {
  17. Reader r = new Reader( "logo.json" );
  18. LayeredGraphNode graph = r.readInputGraph();
  19. InitializeNodePositions.placeNodes( graph );
  20. new MainView( graph );
  21. }
  22. }