diff --git a/TerryModi/RBTree.java b/TerryModi/RBTree.java index 59004fc..c53356a 100644 --- a/TerryModi/RBTree.java +++ b/TerryModi/RBTree.java @@ -279,10 +279,10 @@ class RBTree> { writer.write("\t\"" + keyString + "\" [fillcolor=" + fillColor + ", fontcolor=" + fontColor + "];\n"); // Print parent link - if (node.parent != null) { + /* if (node.parent != null) { String parentKeyString = node.parent.key.toString().replaceAll("[^a-zA-Z0-9]", "_"); writer.write("\t\"" + parentKeyString + "\" -> \"" + keyString + "\" [style=dotted];\n"); - } + } */ // Print left child if (node.left != null) {