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:

  1. If a user does not first login with his FBI, then the system register and login automatically.
  2. If the user has logged in before the FB, then the system will only login without 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

loginFB

Then you have to register There are different sequence diagrams for:

register

and login

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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -