|
|
@ -279,10 +279,10 @@ class RBTree<T extends Comparable<T>> { |
|
|
|
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) { |
|
|
|