@startuml (*) --> if "Sequence is finished" --> [Yes] "Get images [and analyses files names]" if "Files exist" --> [Yes] "Display images [and analyses]" --> (*) else --> [No] "Display error message" endif else --> [No] "Display error message" --> (*) @enduml