skinparam that addresses width activity diagrams?

0 votes
asked Mar 7, 2014 in To be sorted by anonymous
edited Mar 7, 2014

I have a multi-conditional activity diagram that insists on being 2500 pixels wide and the culprit is the width in-between the brances. They seem excessively wide.

On this forum I've seen skinparam values that address such a thing but it doesn't work on my activity diagram

puml exported as a png to see what I mean:

http://imgur.com/Rd04mQo

should be noted that when I removed the two inner 'notes' the width of each branch shrunk as expected.. So obviously there is some logic that implments symmetry in branches so that all width's are equal? How do I fine-tune that so that I can have these two notes (which are important) while not have excessive widths for the other branches?

Much Thanks for this work.

 

edit: version is 7892 

source is 

 

@startuml
 
start
 
:TrapProcessor has resulted in a new alarm;
 
:Retrieve any active alarms that are related to this new Alarm;
note right
    related alarms share
    :SiteId
    :ControllerId
    :AlarmName
    :PointId
end note
 
if(clear event?) then (yes)
    if(alarm require ACK?) then (yes)
        :update active alarm and alarm trend
        with time cleared and clear method;
    else (no)
        :delete active alarm;
        :update alarm trend with
        time cleared and clear method;
    endif
else (no)
    if(related alarms are present?) then (yes)
        if(has severity of the related alarm changed?) then (yes)
            if(alarm requires ACK?) then (yes)
                :update active alarm and alarm trend
                with time cleared and clear method;
                'note right: this related alarm has been cleared
                :add this new active alarm;
                :create a new alarm trend for this alarm;
            else (no)
                :delete active alarm;
                :update alarm trend with
                time cleared and clear method;
                'note left: this related alarm has been cleared
                :add this new active alarm;
                :create a new alarm trend for this alarm;
            endif
        else (no)
            :update active alarm and alarm trend;
        endif
    else (no)
        :add this new active alarm;
        :create a new alarm trend for this alarm;
    endif
endif
 
end
 
@enduml

2 Answers

0 votes
answered Mar 7, 2014 by plantuml (298,440 points)

Hello,

Which version of PlantUML are you using ?

@startuml
version
@enduml

Did you try with the last version of plantuml ?

You can try it online here : http://plantuml.com/plantuml

It would be nice it you could put here the text of your diagram so that we investigate on it.

Thanks,

commented Mar 7, 2014 by anonymous
edited original question based on your input
0 votes
answered Mar 7, 2014 by plantuml (298,440 points)
...