The style of Swimlane looks like the following example

0 votes
asked Jun 11, 2019 in Wanted features by csucjh (140 points)
edited Jun 13, 2019 by csucjh


|swinlane1|

:first;

:second;

|swinlane2|

:third;

if (foo) then

:something;

endif

|swinlane1|

:back to swinline1;

|swinlane2|

:back to swinline2;


  The style of Swimlane looks like the example base on the case of "https://forum.plantuml.net/9653/backgroudcolor-of-swimlane-title"

1 Answer

0 votes
answered May 8, 2020 by Robert

To get the diagram above I did the following:

@startuml
skinparam ArrowColor #4173C0
  skinparam Swimlane {
  TitleFontColor black
  TitleBackgroundColor #C2DEF8
  BorderColor black
  BorderThickness 1
}
skinparam Activity {
  BorderColor #A8D0F6
  BackgroundColor #C2DEF8
  DiamondBackgroundColor #FAE1B8
  DiamondFontColor black
  DiamondBorderColor #F7D499
}
|swinlane1|
:first;
:second;
|swinlane2|
:third;
if (foo) then
:something;
endif
|swinlane1|
:back to swinline1;
|swinlane2|
:back to swinline2;
@enduml
...