In Capella itself you can do a lot more with states and modes at the moment, lets fix that. For State / Mode objects we should add the following attributes:
.related_transitions - list of transitions that may lead to and from this state
.incoming_transitions - list of transitions that lead to this state
.outgoing_transitions - list of transitions that lead out of this state
.owner - a structural element (Entity, Component, Class, etc) that the parent state machine belongs to
.related_states - list of states that the owner may transition to or from this state
.source_states - list of states from which the system could transition to this state
.target_states - list of states to which the system could transition from this state
.entry - list of activities or functions that are performed on entry into state
.do_activity - list of activities or functions that may be performed while in state
.exit - list of activities or functions that are performed before leaving the state
we should also rename .states to .states_and_modes and add a separate .states that isnt mixed with modes
Adding the above should also enable introduction of a meaningful context diagram for a state.
In Capella itself you can do a lot more with states and modes at the moment, lets fix that. For State / Mode objects we should add the following attributes:
.related_transitions
- list of transitions that may lead to and from this state.incoming_transitions
- list of transitions that lead to this state.outgoing_transitions
- list of transitions that lead out of this state.owner
- a structural element (Entity, Component, Class, etc) that the parent state machine belongs to.related_states
- list of states that the owner may transition to or from this state.source_states
- list of states from which the system could transition to this state.target_states
- list of states to which the system could transition from this state.entry
- list of activities or functions that are performed on entry into state.do_activity
- list of activities or functions that may be performed while in state.exit
- list of activities or functions that are performed before leaving the statewe should also rename
.states
to.states_and_modes
and add a separate.states
that isnt mixed with modesAdding the above should also enable introduction of a meaningful context diagram for a state.