Styling: Changing Node and Link Colors
Learn how to customize the colors of the nodes and links of your tree diagram.
We'll cover the following...
Changing node and link colors
The nodes in a tree diagram are objects that exist to provide a representation of the structure of data. But on a tree diagram, they should also be viewed as an opportunity to encode additional information about the underlying data.
From the horizontal example shown, we have encoded a certain amount of information already. The position of the text relative to each node is determined by whether or not the node is the parent of another node (if it’s a parent, it’s on the left) or a child that is on the edge of the tree (in which case, it is on the right of the node).
Now, that’s nice, but are we going to be satisfied with that? (The answer is “no” by the way.)
This example is fairly simple, but it is an example of ...