This will only work in case of no guards.
What just confirms that trying to replace HSM notation with BTrees makes rather not too much sense
If then flowchart < BTree < HSM is true and Capella provides mode/state machines notation, what would be the benefit of having BTrees? Perhaps figures 2.3 and 2.4 in https://arxiv.org/pdf/1709.00084.pdf are the answer here, but Iām not so sure if this HSM couldnāt be designed in a bit more compact way, e.g. āchoiceā and āevent guardsā could be used to simplify transitions from all states to all states on given state event, preventing such āspaghetti of transitionsā:
