blockdiag {
     default_shape = roundedbox

     BEFORE_CREATION [shape = beginpoint, label=""]
     TO_VALIDATE
     VALIDATED
     ACTIVE
     TEARDOWN
     DELETED [shape = endpoint, label=""]

     BEFORE_CREATION -> TO_VALIDATE [folded]
     TO_VALIDATE -> VALIDATED
     TO_VALIDATE -> TEARDOWN [folded]
     VALIDATED -> ACTIVE
     VALIDATED -> TEARDOWN [folded]
     ACTIVE -> TEARDOWN [folded]
     TEARDOWN -> DELETED [folded]
     ACTIVE -> TO_VALIDATE
}
