UML, flow diagram between pages

Asked

Viewed 1,104 times

6

I remember seeing something like that in college, but because it’s been too many years.

Which diagram should I use to represent the flow between pages?

It would be similar to represent the general structure of the website. Example: on page X the user can have access to such other pages. As it is a web system, depending on the profile of the user it can have access to the page and I can differentiate in the diagram with a color relative to the profile that has access. That’s about it, so I can document the pages and the flow.

  • 2

    Is your goal to represent the data flow between certain pages, the general structure of the website or what? Because, depending on the goal, you can use one or the other UML diagram. For example, you could use the sequence diagram to represent the planned order in which the user navigates the site (although most commonly it is used for this wireframes - read this other question for more information). If you want to represent the "triggers" that make the pages be switched, maybe the State Diagram is more interesting.

  • This "summary" that I found now may be useful to you: http://www.profissionaisti.com.br/2011/07/os-principals-diagrams-da-uml-quicksummary/

  • 1

    I bet on the activity diagram, because I think that’s what he’s looking for.

  • Could you give an example of want to do? the flow would be conditional? report more details.

  • Luiz Vieira, would be type to represent the general structure of the website. Example: on page X the user can have access to such other pages. As it is a web system, depending on the profile of the user it can have access to the page and I can differentiate in the diagram with a color relative to the profile that has access. That’s about it, so I can document the pages and the flow.

3 answers

5


After your editing, it became clearer to understand what you need. In this case, I don’t think a Sequence Diagram is the best choice. The sequence diagram models communications (or transitions in your case) over time between the entities involved. Thus, its great use is to represent the logical sequence in which the actions, usually in a specific use case, are performed by all involved (users and components of a system).

From what I understand, your interest is more in representing two things:

  1. The logical structure of the website, that is, which pages are linked to which other pages
  2. Properties of certain transitions, for example, if only one profile is able to make/allow a certain transition.

So I agree more with the answer from Mr @rray, on the use of State diagram. On it you can represent each page as a state of your system, and in the transitions add information (even the color, which you yourself suggested) to indicate its properties.

Wireframes, that I mentioned in comments, would be more useful if you want to enter a higher level of detail (but not final - that is, very low level) as to which areas of each page should allow transitions. This helps you not only plan transitions, but also other aspects of user interaction. In this type of diagram, more informal, you can draw the transition arrows from specific areas of a sketch of the screen, for example to indicate if the user should always click in the same region to navigate, in side columns to have access to tools, etc.

Note that although I think that the Sequence Diagram is not the most appropriate one, it does not mean that you cannot use it. You’ll probably just have to do several of them, for each setting navigation. And, even if I answer this question with the best I can infer based on my experience, I still think it’s a little based on opinion, because there really isn’t a more correct answer.

  • 1

    I agree with your vision.

  • Wireframe pleased me enough for what I need, good tip! However, I imagined in terms of documentation and design patterns using UML. It is perfectly useful Wireframes for what I need, unite all and assemble the flow.

  • UML is just a tool, a visual language designed to aid the modeling of object-oriented systems. It has the advantage of being a more widely known standard in software development, but Wirefremes (which is also a visual language) are also quite popular among interface design. As anyone has their guides and you can still customize them to your need, in practice you choose and use what you think best to document your project.

  • And, btw, as well as for UML, there are also for Wireframes a number of tools to support creation. For example: https://webdesignledger.com/tools/10-excellent-tools-for-creating-web-design-wireframes (I particularly like Balsamiq mockups and Cacoo very much).

  • 1

    I took the liberty of fixing the URL. I removed only the word "New" because they changed the directory.

1

Would be the Sequence diagram.

The Sequence Diagram is one of the UML tools used to represent interactions between objects of a scenario, performed through of operations or methods (procedures or functions). This diagram is constructed from the Use Case Diagram. First, it is defined what the role of the system (Use Cases) is then defined as the software will perform your role (Sequence of operations).

wikipedia source

inserir a descrição da imagem aqui

1

To display this information there are two candidates, they are the state or activity diagram.

Status diagram or state machine serves to display transitions of objects, systems or protocols.

Diagram of activities, serves to model workflows, algorithmic processes, much like a flowchart the difference is that the latter does not support parallel activities.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.