Can the use case diagram reflect the internal operation of the system? And that is, for example, the use of login option. Is it possible to indicate in this type of diagram - which classes, program modules or models related to it will be used in the development?
- Usage diagrams are used for design, that is, presumably, at the stage of their development, classes and software modules have not yet reached the point. Those. first we make diagrams, then we look at them, and design the code. But in hindsight, you can probably put links. I would say that the arrow in the opposite direction is usually more important: you are looking at the design decision (code) and you want to understand why it is accepted that way. Then you need a link from the code to the use case diagram. Such links are formed using trackers and version control systems. - Mark Shevchenko
- found nothing about uml trackers and how can the version control system detect the connection between the code and the diagram? - perfect
- We do this at the level of agreements within the team. A use case diagram is something very close to the concept of a user story . In Scrum, we describe the story in the tracker as product backlog item, PBI. Then we create a branch in the central git repository based on this PBI, if the tracker / versioning system allows it. The alternative is to refer to the PBI number in each commit via # -notation. If the IDE supports a version control system, then you can find the commit where it appeared in the class, and PBI in the commit. If not supported, then from the command line. In VS2015, this is five mouse clicks. - Mark Shevchenko
- Yes, the diagram itself as an attachment is attached to PBI. We specifically do not do this, because we do not use case diagrams, we use user stories. But interaction diagrams sometimes add up. - Mark Shevchenko
- Understandably, I'm just trying to connect a usage diagram with other types of diagrams (for example, with a class diagram). - perfect
|