@startuml
scale 1.5
start
:User executes command;

'Since the beta syntax does not support placing the condition outside the
'diamond we place it as the true branch instead.

if () then ([command commits MemeBook])
    :Purge redunant states;
    :Save MemeBook to
    versionedMemeBookStates;
else ([else])
endif
stop
@enduml
