Implements tree printing.
Implements diagraph saving.