Construct tree diagram for sequential events (#757)