100% docstring coverage

factor out export tree parsing.
a tree drawing web interface