A Sequence Diagram that has many horizonal arrows will have very small default font sizes, when the diagram is fitted on a A4 sheet of paper.
So I normally have to increase all the individual font sizes.
But with the bigger fonts, the arrow head size will remain very small, making it hard to see them.
Is there a way to increase the arrow head size, when the text sizes are increased?
Here is an example:
'This produces an image with extremely small text sizes,
'especially when the diagram is fitted on an A4 landscape page.
@startuml
/'Skin/theme options available:
https://github.com/aklt/plantuml-syntax/blob/master/syntax/plantuml.vim#L117
'/
skinparam RoundCorner 25
skinparam SequenceLifeLineBorderColor Black
skinparam SequenceParticipantBorderColor Black
skinparam SequenceArrowThickness 3
skinparam padding 1
skinparam ParticipantPadding 30
hide footbox
/'The following parameters will increase all text sizes
But the arrow heads and lifelines become too small.'/
'skinparam Shadowing false
'skinparam SequenceTitleFontSize 28
'skinparam ParticipantFontSize 30
'skinparam ParticipantFontStyle Bold
'skinparam SequenceArrowFontSize 28
'skinparam NoteFontSize 28
'skinparam SequenceDividerFontSize 28
'skinparam SequenceGroupHeaderFontSize 28
'skinparam SequenceGroupFontSize 28
title
This is a long title
<size:20><color:gray>This is a long subtitle</color></size>
end title
participant ParticipantClass1 << (C,#8CEF92) >> order 1 #e5e5e5
participant ParticipantClass2 << (C,#8CEF92) >> order 2 #dcffdc
participant ParticipantClass3 << (C,#8CEF92) >> order 3 #ffe6e4
participant ParticipantClass4 << (C,#8CEF92) >> order 4 #dafffe
ParticipantClass1 -> ParticipantClass1: <b>text text text</b>
ParticipantClass1 -> ParticipantClass2: new ParticipantClass2()
== A section header text text text text text text ==
activate ParticipantClass2 #99FF99
ParticipantClass2 -> ParticipantClass2: <b>functionCallExample1()</b>
ParticipantClass2 -> ParticipantClass2: functionCallExample2()
note left
text text text text text text text text text text
text text text text text text text text text text.
end note
activate ParticipantClass2 #63C563
ParticipantClass2 -> ParticipantClass3: functionCallExample3()
ParticipantClass3 --> ParticipantClass2: return
deactivate ParticipantClass2
'alt is an "if" statement. See https://stackoverflow.com/questions/8114770/how-to-show-if-condition-on-a-sequence-diagram
alt functionCallExample2() = false
ParticipantClass2 --> ParticipantClass1: return
else functionCallExample2() = true
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text text text text.
ParticipantClass2 -> ParticipantClass2: text text text text text text
ParticipantClass2 -> ParticipantClass2: text text text text text text
note left
text text text text text text
text text text text text text
text text text text text text
end note
activate ParticipantClass2 #63C563
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text \ntext text text text text text
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text \ntext text text text text text
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text \ntext text text text text text
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text
ParticipantClass2 -> ParticipantClass2: text text text text text text text text text
deactivate ParticipantClass2
ParticipantClass2 --> ParticipantClass1: return
deactivate ParticipantClass2
end
'Add a blank line space
|||
== Another section header text text text text text text ==
ParticipantClass1 -> ParticipantClass1: text text text text text text
activate ParticipantClass1 #E0E0E0
ParticipantClass1 -> ParticipantClass1: text text text text text text
ParticipantClass1 -> ParticipantClass4: new ParticipantClass4()
activate ParticipantClass4 #94FFFD
ParticipantClass4 -> ParticipantClass4: ParticipantClass4() constructor: \ntext text text text text text text text text
ParticipantClass4 --> ParticipantClass1: return
deactivate ParticipantClass1
'Add a discontinuity in the life line
...
ParticipantClass4 -> ParticipantClass4: text text text text text text \ntext text text text text text
note right
text text text text text text
text text text text text text
end note
ParticipantClass4 -> ParticipantClass2: text text text text text text text text text text text text
ParticipantClass4 -> ParticipantClass2: text text text text text text text text text text text text
note left
text text text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text text text
end note
ParticipantClass4 -> ParticipantClass2: text text text text text text text text text
ParticipantClass4 -> ParticipantClass4: text text text text text text text text \ntext text text text text text
deactivate ParticipantClass4
@enduml
Example diagram: http://www.plantuml.com/plantuml/uml/xLTTS-8s57s_l-BEya0oi-00pWSCOJPXG_kmqzbfzh4lmhgEDSYIAyaXwUJ7LpPiGekDlItfKmrn9jAvv-hS3qdfVak4nSnedaTaaIaK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