The cycle of a tree