I would like to create a UML diagram of a family of red/black trees.
Essentially the diagram will consist of a number of circles or ovals with some value inside. The color of the circle is either red or black. Each node May have arrows that either points down into the left, down into the right, or straight down to point to the next node. The orientation must not be arbitrary but must be able to be specified by the user.
Here’s an example that I made some time ago (forgot how and I can’t figure out how to see the code behind this diagram)
The issue with this (besides not having the code that generated it) is I was forced to add the “nil” node to ensure the other nodes at that level pointed the correct direction. I would want to be able to specify the direction for each edge of the graph.
Any help is appreciated