How would I go about re-using states in Sparx EA State Machine Diagrams?
For my application I have a defined list of States (StateA,StateB,StateC, etc) but different objects may transition between them in different manners, i.e. ObjectA: StateA--(no guard)-->StateB--(input=0)-->StateC ObjectB: StateA--(input=2)-->StateB--(no guard)-->StateC
If I create these states and put them in their own "package", and then create 2 state machine diagrams and copy these states into the diagrams, whenever I make changes to one diagram the other diagram gets (wrongly) updated.
Or am I thinking about this wrong, and essentially every State Machine Diagram needs to have either its own definition of states/transitions (optionally can reuse existing state machines, but I don't think that solves this problem)?