Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity diagram: ELSE arrow for a "switch-like" breaks sometimes #193

Closed
mlopezgva opened this issue Apr 25, 2019 · 2 comments
Closed

Activity diagram: ELSE arrow for a "switch-like" breaks sometimes #193

mlopezgva opened this issue Apr 25, 2019 · 2 comments

Comments

@mlopezgva
Copy link

@mlopezgva mlopezgva commented Apr 25, 2019

Hello. I have noticed something about the Activity/SDL (more than one, but... once per issue!):

Given the following code:

@startuml

start

:And so it begins;

if (Testing las arrow of\na Switch-case activity\nit breaks when this \nelement gets 3 lines or more) then (Yes)

elseif (Testing las arrow of\na Switch-case activity\nit breaks when this \nelement gets 3 lines or more) then (Yes)

elseif (Testing las arrow of\na Switch-case activity\nit breaks when this \nelement gets 3 lines or more) then (Yes)
else (No)
	#darkred:<color:white>**Show Error**;
	end
endif

:And there is no\nactivities for the YES branches;

stop

@enduml

It does not happen when the "if"s have only one line:

@startuml

start

:Some action first;

if (Option 1) then (Yes)
elseif (Option 2) then (Yes)
elseif (Final Option) then (Yes)
else (No)
	#darkred:<color:white>**Error here!**]
	end
endif

:Normal Exit;

stop

@enduml

The "else" arrow always breaks. It may occur in other situations, but it happens at least in this situation. Tested with 2019-6.beta1

@arnaudroques

This comment has been minimized.

Copy link
Contributor

@arnaudroques arnaudroques commented Apr 25, 2019

Thanks for the feedback.
This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

@mlopezgva

This comment has been minimized.

Copy link
Author

@mlopezgva mlopezgva commented May 1, 2019

Now looks good. Thank you.

@mlopezgva mlopezgva closed this May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.