Improve sub-tree analysis and add graphing capabilities.
Closes #33.
Handle the special case of only TransferIn. Fixes #34.