Writes each node information If it is a leaf node: show it in different color, show number of samples, show leaf id If it is a non-leaf node: show its splitting variable and splitting value If trained with missing values, the edge arrow is filled according to which direction the NAs are sent.