Added tree graph output