Skip to content

Commit 50a229d

Browse files
committed
Avoid blank space for 234 tree
1 parent 6c47786 commit 50a229d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/DataStructures/Graph/NAryTreeTracer/NTreeTracer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ class NTreeTracer extends Tracer {
6262
this.LevelSeparation = 100;
6363
this.levels = null;
6464

65-
this.functionName = ''; // for fancy code style caption
65+
// initially say tree is empty to avoid confusion with
66+
// blank screen
67+
this.functionName = 'Tree is Empty'; // for fancy code style caption
6668
this.text = null;
6769
this.swap = false;
6870

0 commit comments

Comments
 (0)