Hi,
I am using a multiline labels like this
1.
How can I add special characters '###' (sharps) to a label in activity diagrams?
2.
I am using the syntax in the example below to make the multi-line label indented so that the UML code looks clearer by indentation.
Any shorter or more correct trick that I can use for this?
(
The following looks bad in the nested conditions...:
:Some multiline label Some multiline label Some multiline label Some multiline label
label Some multiline label Some multiline label Some multiline label Some multiline label;
)
@startuml
start
if (condition_1 ?) then (YES)
if (condition_2 ?) then (YES)
if (condition_3 ?) then (YES)
!$s = "Some multiline label Some multiline label Some multiline label Some multiline label\n" + \
"### label Some multiline label Some multiline label Some multiline label Some multiline label"
:$s;
:bla;
endif
endif
endif
stop
@enduml