Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

loop bottom border encloses trailing deactivate

0 votes

In my UML I have a sub-activation that opens and closes outside a loop.

activate DS
loop for each event
'do stuff
end
deactivate DS
 
However, the deactivation is drawn *inside* the loop and not outside as instructed.
 
@startuml
hide footbox
 
actor SourceOp <<Operator>>
actor INotify <<FileSystem>>
database "Source Folder" as SoF
 
box "Source Endpoint"
    boundary "File Events" as FE
    participant "Data Service" as DS
    participant "File Data\nMessage" as FD
end box
 
box "Sink Endpoint"
    participant "Data Client" as DC
end box
 
database "Sink Folder" as SiF
 
activate DS
activate DC
 
SourceOp -> DS : tell location of SourceFolder
 
FE <- DS : start on SourceFolder
activate FE
INotify <- FE : register to changes in SourceFolder
 
FE <- DS : poll for events
FE --> DS : set of events
activate DS
    loop for each event
    create FD
    DS -> FD : create from event
    activate FD
        FD -> SoF : content
        FD <-- SoF
        FD -> FD : path offset\nrelative to\nSourceFolder
        DS <-- FD
 
        DS -> DC : {FileData}
        destroy FD
 
    DC -> SiF : create file\nfrom {FileData}
    end
deactivate DS
 
@enduml

 

asked Jan 6, 2015 in bug by ark (180 points)

1 Answer

0 votes
 
Best answer
Hello,

Thanks for the report : this has been fixed in the last beta

https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
answered Jan 14, 2015 by plantuml (111,340 points)
selected Jan 14, 2015 by ark
Good to see that the online server is updated, too
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...