Arrow colors problem in Activity beta

0 votes
asked Sep 15, 2015 in To be sorted by pacheco (380 points)
edited Sep 16, 2015 by plantuml

I was trying to create the following (notice the blue arrows):



with the following code:

start
#lightblue:Action|
-[#blue]-> callback;
if () then (OK)
-[#blue]->
else if () then (ERROR)
   -[#blue]->
    #lightpink:ERROR]
    stop
else (timeout)
   -[#blue]->
    #lightpink:TIMEOUT]
    stop
endif
end

However, even playing with it, the best i could come with was one of:





(where the last one was adding "-[#blue]->" between the "endif" and the "end" keywords.

I think thatt the color arrows (and text one those arrows) are somehow broken.

Hope the fix is easy :)

 

Thanks

1 Answer

0 votes
answered Sep 16, 2015 by plantuml (294,960 points)
selected Sep 16, 2015 by pacheco
 
Best answer

Many thanks for your detailed bug report : it really helps!

Some code were written, but not really tested... (as you have noticed)

Anyway, you can download here a beta version: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

This version is working with the following diagram:

@startuml
start
#lightblue:Action|
-[#blue]-> callback;
if () then (OK)
-[#black]->
else if () then (ERROR)
   -[#red]->
    #lightpink:ERROR]
    stop
else (timeout)
   -[#green]->
    #lightpink:TIMEOUT]
    stop
endif
-[#yellow]->
end
@enduml


Do not hesitate to post again when you will find other issues with colors.
Thanks again!

commented Sep 16, 2015 by pacheco (380 points)
yes, it works now :)
thank you very much for the quick support.
...