Re: [argouml-dev] Have more than one Statemachine on a diagram
Michiel van der Wulp <[email protected]>
| Newsgroups | gmane.comp.db.axion.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Laurent, et al., > I wonder why we can't have more than one statediagram for a statemachine. See my answer in issue 4195, refering to issue 2495. > I want to do this in order to have 2 diagrams: > -> One with "Final user" > -> One with "Admin", which allow regression of some status. > If a better "conception" solution exists.is is what I > You would like to show the difference in rights between different actors. In such case, I usually show one diagram with all the states and all the transitions, with the actor's roles as a guard shown on the transitions. A statechart is primarily meant to show the complete set of states e.g. a document can be in. Sometimes I even draw only the states and un-annotated transitions, to keep the minds clear from activities. It would be confusing to show only the states for a document that can be obtained by a certain kind of user, since then it would be incomplete. If the "admin" brings a user's document is a restricted state, does the user still see it? Even if not, he knows it is changed in a way that is not included in the documented states, so he knows the diagram is incomplete. Kind regards, Michiel ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2797925 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]