pretty tree and graphs