R – UML of website page navigation

asp.netdiagramuml

I need someones help in creating UML for web navigation:

If the dropdown in page1 have values "A" "B" "D"

Web navigates by..

Page1 -> Page2 -> Page 3-> Page 4

if a drop down in page 1 is having value "C" then

Page1 -> Page2 -> Page 4

Please help in creating a UML for this.

Best Answer

Would an activity diagram help? Make each page a rectangle. The decision is a diamond. Your conditions are "c" and "not c".