There are two classes: Question and Answer. Instance of Question contains a list of Answers, each Answer points to a follow up Question. So each selected answer triggers a relevant next question until answer with no followup question is selected.
What would a UML diagram look like to best describe a questionnaire flow like this:
Q1: "Are you hungry?" [Yes, No]
Yes->Q2: "What do you want to eat?" [Apple, Pear, Banana]
Apple->Q4: "Green or red?" [Green, Red]
Pear ->Q5: "Big or small?" [Big, Small]
No ->Q3: "Are you thirsty?" [Yes, No]
Yes->Q6: "What would you like to drink?" [Tea, Coffee, Water, Vodka]
Tea ->Q7: "Any sugar?" [1 spoon, 2 spoons, 3 spoons]
Vodka->Q8: "Are you old enough for it?" [Yes, No]
A class diagram would describe relationship between the classes but not the question-answer flow.
Object diagram would have too much information about relationship between objects and the object's inner structure which would make it hard to read the question/answer flow which we are interested in.
Activity diagram would work well if questions were true or false, then the decision diamond shaped icon could be used for the true and false flow. But that wouldn't work if a question has 7 possible answers.
So my problem is to find the type of a diagram that would describe a flow like that in the most basic and clear way.