Complete the code to define the start point in an activity diagram.
start = [1]()The start of an activity diagram is represented by an InitialNode.
Complete the code to add a decision node in the activity diagram.
decision = [1]()A DecisionNode is used to represent a branching point in the activity flow.
Fix the error in the code to correctly represent the end of an activity.
end = [1]()The end of an activity diagram is represented by an ActivityFinalNode.
Fill both blanks to create a fork and join in the activity diagram.
fork = [1]() join = [2]()
A ForkNode splits the flow into parallel paths, and a JoinNode synchronizes them back.
Fill all three blanks to define an activity with guard conditions.
activity = ActivityNode(name=[1], guard=[2], next=[3])
The activity named "ProcessOrder" proceeds to "ShipOrder" only if the guard condition "orderValid == true" is met.
