Method PaintTree() renders nodes from created list of graph levels and for each node calls NodePaint() of class NodeCl. NodeCl contains information about position of node, its color and what should be displayed when user clicks on the node in TreeControl. It also contains list of child nodes - edges goes to this nodes.