Skip to main content
Answer

Lucidchart UML drag-and-drop sequence diagram add alternative

  • September 2, 2022
  • 4 replies
  • 345 views

Doug B101

Hi how do I add another alternative (say an "else if" situation) to the UML Sequence diagram if building it using drag-and-drop?

Best answer by Micah

Hi Doug thanks for posting in the Lucid community! I recommend using the Option Loop or Alternative shapes from the UML Sequence shape library. Both are shown below:

These can be overlaid on the rest of your sequence diagram where needed to show these alternative flows. Please let me know if you have additional questions!

Comments

Micah
Forum|alt.badge.img+20
  • Lucid community team
  • Answer
  • September 2, 2022

Hi Doug thanks for posting in the Lucid community! I recommend using the Option Loop or Alternative shapes from the UML Sequence shape library. Both are shown below:

These can be overlaid on the rest of your sequence diagram where needed to show these alternative flows. Please let me know if you have additional questions!


Doug B101
  • Author
  • September 2, 2022

Right but I need to add a third alternative it's not just a binary choice.  Can I do that without using markup?  Thanks Micah.


Micah
Forum|alt.badge.img+20
  • Lucid community team
  • September 2, 2022

Hi Doug apologies for the miscommunication. Thanks for clarifying you're looking for a third alternative! It's not possible to automatically generate a third option on that Alternative shape from the shape library but if you prefer to build your diagram manually I believe you could create an effective stand-in from regular shapes. Below I've created a similar Alternative shape with a condition an "else" statement and an "else if" statement using regular Lucidchart boxes and lines. 

You could similarly group these objects together then overlay them on the rest of your sequence diagram. I hope this helps!


Doug B101
  • Author
  • September 2, 2022

ok that makes sense.  Thanks.