First the nodes are drawn in the triangle configuration and their labels are determined. Second, we loop over the nodes again to draw the arrows, one to each child. The final result is as follows:

Unforunately, due to the use of faculties to calculate the node labels, you can't draw Pascal triangles of more than 8 levels. This could probably be increased by using the recursive definition for n choose k instead of this one.