help to have this diagram to best represent

0 votes
asked Dec 13, 2024 in Question / help by andre (120 points)

hello, anyone can help to make this better? maybe possible to have an arrow going to the same note at least?

@startuml
'skinparam handwritten true
skinparam ArrowColor #4173C0
 skinparam Swimlane {
 TitleFontColor black
 skinparam defaultTextAlignment<<center>> center
 TitleBackgroundColor #C2DEF8
 BorderColor black
 BorderThickness 1
}
skinparam Activity {
 BorderColor #A8D0F6
 BackgroundColor #C2DEF8
 DiamondBackgroundColor #FAE1B8
 DiamondFontColor black
 DiamondBorderColor #F7D499
}
|#gold|A| Originator\r(A) 
|B| Approver 1\r(B)
|C| Approver 2\r(C)
|D| Approver 3\r(D)
|E| Approver 4\r(E)
|A|
start
:Create new VOR\n(A01);
|B|
:VOR Review\r(B01);
split
    :Revision Required\r(B04);
    |A|
    :Revise VOR\n <color:red><b>START OVER</color>;
     kill
split again
    |B|
    :Reject\r(B03);
    #pink:<b>Rejected/
     kill
split again
    |B|
    :Approve(B02);
    if({cost estimated}\n>100K$ ) then (Yes)
        |C|
        :VOR Review\r(C01);
        split
            :Revision Required\r(C04);
            |A|
            :Revise VOR\n <color:red><b>START OVER</color>;
             kill
        split again
            |C|
            :Reject\r(C03);
            #pink:<b>Rejected/
             kill
        split again
            :Approve(C02);
            if({cost estimated}\n>1Million$ ) then (Yes)
                |D|
                :VOR Review (D01);
                    split
                       :Revision Required\r(D04);
                       |A|
                      :Revise VOR\n <color:red><b>START OVER</color>;
                       kill
                       |D|
                    split again
                      :Reject\r(D03);
                       #pink:<b>Rejected/
                       detach
                    split again
                    :Approve(D02);
                       |E|
                    :VOR Review (E01);
                       kill
                    end split
            else (No)
                |E|
                :VOR Review (E01);
            endif
             kill
        end split
    |B|
    else (No)
        if({cost estimated}\n>25K$ ) then (Yes)
            |E|
            :VOR Review (E01);
                split
                :Revision Required\r(E04);
                |A|
                :Revise VOR\n <color:red><b>START OVER</color>;
                 kill
                split again
                |E|
                :Reject(E03);
                #pink:<b>Rejected/
                 kill
                split again
                |E|
                :Approve(E02);
                     #palegreen:<b>Approved/
                 kill  
                end split    
        else (No)
        |B|
         #palegreen:<b>Approved/
        kill
        end if
    endif
end split

@enduml

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...