uml - Go to another sequence in sequence diagram? -
I have a register and login sequence diagram. I also have rules that have the login FB sequence:
- If a user does not first login with his FBI, then the system
registerandloginautomatically. - If the user has logged in before the FB, then the system will only
loginwithout entering it.
The problem is, login and register already have their own sequence diagrams. Just copy those two shapes into the login FB , solve the problem, but reading my diagram would be hard and it would be too long
I hope There is just one way to say in a way: Log in the login sequence
Please help me Thank you for your help.
There are new rules about this in UML, but the best practices are in my article on my website. Document is entered:
It basically tells you to create a sequence diagram for each operation. This avoids the problem of copying parts of behavior into different diagrams.
Ensure that your device maintains a link between operation and its behavior specification so that you can easily navigate from one to the other.
Edit: To illustrate this example for your example. You have the login FB
Then you have to register There are different sequence diagrams for:
and login
Ensure that each sequence diagram has an interaction Object is nested under, and that you link this interaction in practice to the related operation.
Then it depends on the capabilities of your UML device that its behavior (and back) from the operation
Comments
Post a Comment