Hello PlantUML team,
- Could you allow style for mainframe?
Here are some examples only for sequence or deployment (but to be test for all diagram!):
Code | @startuml
<style>
mainframe {
BackGroundColor aliceblue
LineColor blue
LineThickness 2.0
FontColor blue
FontSize 15
FontStyle italic
Margin 50
Padding 100
}
frame {
BackGroundColor palegreen
LineColor green
LineThickness 1.0
FontColor red
FontSize 11
FontStyle bold
Margin 50
Padding 100
}
</style>
mainframe This is a mainframe
participant alpha
participant beta
alpha -> beta: a1
beta <- alpha: a2
group group
beta -> alpha: b1
alpha <- beta: b2
end
@enduml
| @startuml
<style>
mainframe {
BackGroundColor aliceblue
LineColor blue
LineThickness 2.0
FontColor blue
FontSize 15
FontStyle italic
Margin 50
Padding 100
}
frame {
BackGroundColor palegreen
LineColor green
LineThickness 1.0
FontColor red
FontSize 11
FontStyle bold
Margin 50
Padding 100
}
</style>
mainframe This is a mainframe
frame frame
frame f1 {
frame f2
file file
}
frame --> file
@enduml |
Output |
| |
See also this page for other overlapping issues (of border or legend) with mainframe:
Thanks for your works,
Regards,
Th.