|
@@ -7,7 +7,7 @@ import java.awt.event.KeyListener;
|
|
|
import javax.swing.JFrame;
|
|
|
|
|
|
import Algorithms.Animated.Action;
|
|
|
-import Algorithms.Animated.AnnimationController;
|
|
|
+import Algorithms.Animated.AnimationController;
|
|
|
import Algorithms.Animated.BK.BKNodePlacement;
|
|
|
import IO.Writer;
|
|
|
import Model.LayeredGraphEdge;
|
|
@@ -16,11 +16,11 @@ import Model.LayeredGraphNode;
|
|
|
public class MainView {
|
|
|
|
|
|
public static JFrame frame;
|
|
|
- AnnimationController controller;
|
|
|
+ AnimationController controller;
|
|
|
|
|
|
public MainView( LayeredGraphNode graph )
|
|
|
{
|
|
|
- controller = new AnnimationController();
|
|
|
+ controller = new AnimationController();
|
|
|
controller.setTimeBetween( 100 );
|
|
|
frame = new JFrame();
|
|
|
frame.setSize( Math.min( (int)graph.getWidth() + 200, 1700 ), Math.min( (int)graph.getHeight() + 200, 900 ) );
|