ui tree generator