This is an example of water phase diagram represented as UML state machine diagram.
Water can exist in several states - liquid, vapour, solid, and plasma. Several transitions are possible from one state to another. For example, freezing is phase change from liquid state to ice. Condensation is phase change from vapour state to liquid. Water vapour could turn directly into frost through deposition.