Trouble with partition position

0 votes
asked Aug 6 in Question / help by Mike (140 points)

Hi,

I try to specify position (left or right) of several partitions : it is working great for the first declaration, but evry partition goes to the right at the end.

Here is my test :

@startuml

partition "My Partition" {
(*) --> "Step1" <<Stage>>
--> "Step2" <<Stage>>
--> (*)
}

partition "First left partition" {
"Step1" -left-> First left Action <<Bash>>
}

partition "First right partition" {
"Step1" -right-> First right Action <<Bash>>
}

partition "Second left partition" {
"Step2" -left-> Second left Action <<Bash>>
}

partition "Second right partition" {
"Step2" -right-> Second right Action <<Bash>>
}

@enduml

Is there anything I am making wrong ?

Thanks for your attention.

Mike

1 Answer

0 votes
answered Sep 4 by anonymous
I dont know the answer, but this works. There is a unknown strategy of positioning in plantuml

    @startuml

    partition "My Partition" {
    (*) --> "Step1" <<Stage>>
    --> "Step2" <<Stage>>
    --> (*)
    }

    partition "First left partition" {
    "Step1" -left-> "First left Action" <<Bash>>
    }

    partition "First right partition" {
    "Step1" -right-> "First right Action" <<Bash>>
    }

    partition "Second left partition" {
    "Step2" -left-> "Second left Action" <<Bash>>
    }

    partition "Second right partition" {
    "Step2" -right-> "Second right Action" <<Bash>>
    }

    "Second left Action" .[hidden]u.> "First left Action"

    @enduml
...