Rectangle MinimumWidth on Activity Diagram

0 votes
asked Mar 14 in Question / help by eduardomozart (360 points)
edited Mar 15 by eduardomozart

1 Answer

0 votes
answered Mar 15 by The-Lu (64,760 points)
selected Mar 15 by eduardomozart
 
Best answer

Hello E., and all,

Here is an attempt, using style and modern Activity diagram:

@startuml
<style>
element  {
  HorizontalAlignment center
  MinimumWidth 200
  RoundCorner 0
  LineColor  #FF8300
  LineThickness 2
}
</style>

start
if (Criar uma conta no Central) then
  :Ingressar no Central;
  :Entrar no Central;
  :Configurar conta de usuário;
  kill
elseif (Configurar sua conta) then
  :Adicionar sua chave de\nsubscrição;
  :Adicionar dispositivos ao Central;
  :Atribuir subscrições;
  kill
elseif (Organizar seus dispositivos) then
  :Atribuir dispositivos a grupos;
  :Atribuir dispositivos a sites;
  :Atribuir dispositivos a <i>labels</i>;
  kill
elseif (Configurar, gerenciar e\nmonitorar suas redes) then
  :Configurar suas\nredes;
  :Monitorar dispositivos e\nclientes;
  :Atualizar software nos\ndispositivos;
  kill
else
endif
stop
@enduml

Enjoy,
Regards,
Th.

commented Mar 15 by eduardomozart (360 points)
It seems great! I didn't like the diamond format on "if" condition as I'm trying to reproduce the original the best I could. I got something with "Split" on Actvitiy Diagram, but I wasn't able to use custom LineColor using "<<EXAMPLE>>" tag, so I opened another question in https://forum.plantuml.net/18773/different-rectangle-linecolor-split-new-activity-diagram
...