detach after a while loop in PlantUML 8036

0 votes
asked Mar 7, 2016 in Bug by anonymous

Is there a way to represent the diagram below with out the exit path?

@startuml
:previous
 action}
  while (repeat\nforever)
    :do it
    again;
  endwhile
  ->exit
  path;
  end
@enduml

When I add a detach, as shown below, it removes the repeat path instead:
 

@startuml
:previous
 action}
  while (repeat\nforever)
    :do it
    again;
  endwhile
  ->exit
  path;
  detach
  end
@enduml


 


 

 

related to an answer for: Repeat followed by detach on plantUML.8036

1 Answer

0 votes
answered Mar 7, 2016 by plantuml (177,280 points)
Thanks for the report.

This should be fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Please go on with your tests, it's really useful!

Regards
...