File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default class AVL extends Algorithm {
3737
3838 this . first_print_pos_y = h - 2 * AVL . PRINT_VERTICAL_GAP ;
3939 this . print_max = w - 10 ;
40- this . startingX = w / 2 ;
40+ this . startingX = w / 2 + 200 ;
4141 this . addControls ( ) ;
4242 this . nextIndex = 1 ;
4343 this . commands = [ ] ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default class BST extends Algorithm {
4343
4444 this . first_print_pos_y = h - 2 * BST . PRINT_VERTICAL_GAP ;
4545 this . print_max = w - 10 ;
46- this . startingX = w / 2 ;
46+ this . startingX = w / 2 + 200 ;
4747 this . addControls ( ) ;
4848 this . nextIndex = 1 ;
4949 this . commands = [ ] ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import { act } from '../anim/AnimationMain';
3636const INFO_MSG_X = 25 ;
3737const INFO_MSG_Y = 15 ;
3838
39- const FIRST_PRINT_POS_X = 50 ;
39+ const FIRST_PRINT_POS_X = 100 ;
4040const PRINT_VERTICAL_GAP = 20 ;
4141const PRINT_MAX = 990 ;
4242const PRINT_HORIZONTAL_GAP = 50 ;
@@ -61,7 +61,7 @@ export default class BTree extends Algorithm {
6161 super ( am , w , h ) ;
6262 this . nextIndex = 0 ;
6363
64- this . starting_x = w / 2 ;
64+ this . starting_x = w / 2 + 200 ;
6565
6666 this . preemptiveSplit = false ;
6767
You can’t perform that action at this time.
0 commit comments