Im trying to do a UML diagram for a script below in PlantUML.
[plantuml, target=diagram-sequence, format=png]
....
@startuml
-> A: test
opt ((Exterme_DANGER_Forwith_cIES_MICRO_GYRO) || (Exterme_DANGER_Forwith_cIES_PANASONIC_GYRO) || (Exterme_DANGER_Forwith_cIES_VIRTUAL) || (Exterme_DANGER_Forwith_cIES_Cobra) || (Exterme_DANGER_Forwith_cIES_VTI) || (Exterme_DANGER_Forwith_cIES_VTI_SPI) || (Exterme_DANGER_Forwith_cIES_VIRTUAL) || (Exterme_DANGER_Forwith_cIES_VTI) || (Exterme_DANGER_Forwith_cIES_VTI_SPI) || (Exterme_DANGER_Forwith_cIES_VIRTUAL)) || (Exterme_DANGER_Forwith_cIES_Cobra5) || (Exterme_DANGER_Forwith_cIES_Cobra4))
<- A
end opt
@enduml
....
When I do this I cannot see the complete diagram.
Does anyone know of a way to show the big opt conditon in multiple lines in the diagram?
\n
in the code like ` @startuml ... opt ((Exterme_DANGER_Forwith_cIES_MICRO_GYRO) || (Exterme_DANGER_Forwith_cIES_PANASONIC_GYRO) || \n (Exterme_DANGER_Forwith_cIES_VIRTUAL) || (Exterme_DANGER_Forwith_cIES_Cobra) || \n ... end opt @enduml – Stage