As soon as she left the room, she burst into tears.

Literal

She [topic-は] room [object-を] leave [as soon as-とすぐに] crying started.

~とすぐに means 'as soon as X.' 泣き出す uses ~出す ('to burst out'), a compound verb suffix marking the sudden onset of an action.