Activity Diagrams – Advantages, Disadvantages and Applications of Use

Activity diagrams describe the precise work move habits of a system in Information Technology. These diagrams are similar to state Diagrams as a result of actions are the precise state of doing one thing. These diagrams describe the precise state of actions of a system by displaying all of the sequence of actions carried out. Also, these diagrams can present actions which might be conditional or parallel.

When to Use: Activity Diagrams

Activity diagrams ought to be utilized in alignment with different modeling methods like interplay diagrams and State diagrams. The foremost purpose behind utilizing these diagrams is to mannequin the work move behind the system being designed. these Diagrams are additionally helpful for analyzing a use case by describing what actions have to happen and when they need to happen, describing an advanced sequential algorithm and modeling purposes with parallel processes.

Activity diagrams’ benefits:

  • UML modeling language included that these diagrams are usually simply understandable for each analysts and stakeholders.
  • In UML for the IT Business Analyst, “The activity diagram is the one most useful to the IT BA for depicting work flow [because] it is simple to understand-both for BAs and end-users.”
  • Since they’re among the many most consumer-pleasant diagrams obtainable, they’re typically thought to be a necessary software in an analyst’s repertoire.
  • Additionally, as said above, exercise diagrams enable an analyst to show a number of circumstances and actors inside a piece move via the use of swimlanes. Swimlanes, nevertheless, are non-obligatory as a single situation or actor is often displayed with out them.

Activity diagrams’ disadvantages:

UML modeling language embody that these diagrams have the potential to grow to be overly complicated as a result of their consumer-pleasant nature might lend itself to an all-inclusive description. In different phrases, since it’s so easy to show the knowledge associated to the challenge, why not embody all of it? When an analyst has a big challenge, making a single, overly complicated diagram generally is a temptation.

However, as one writer notes, “if you are using activity diagrams to define the structure of a work flow, you should not attempt to explore several levels of activity graphs down to their most ‘atomic’ level”. Instead, an analyst ought to attempt to current a brand new diagram for every work move, or if extra relevant, to make use of swimlanes to current completely different actors inside the similar work move.

Another side of these diagrams is that they will not be utilized in lieu of a state diagram or sequence diagram as a result of “activity diagrams do not give detail about how objects behave or how objects collaborate.” This isn’t an obstacle per se, however it is vital for an analyst to bear in mind when making use of diagrams to their work.

In conclusion, exercise diagrams are pretty simple to get the hold of, and might be helpful for many tasks as a result of they plainly and reasonably clearly reveal how issues work.” Unlike many diagramming methods, these diagrams additionally allow the depiction of a number of decisions and actors inside a piece move, and they’re simple for even non-technical customers to observe

Applications of exercise diagram:

This diagram has been prolonged to specify flows amongst steps that transmit bodily matter (e.g., gasoline) or power (e.g., torque, strain).

  • Additional adjustments enable the diagram to higher help steady behaviors and steady information flows.
  • The UML 2 specification considerably extended the options and scale of exercise diagrams past their earlier classification as a particular case of state diagrams.
  • Today, exercise diagrams will be thought of as move charts for the 21st century, and UML modelers use exercise diagrams to explain it.
  • Also, these diagrams are helpful in following strategies:
  • Business Rules
  • Functions that happen in parallel
  • Complex chain of a number of use circumstances
  • Software flows and logic management configurations
  • Procedures with judgment factors and alternate flows
  • Single use circumstances

Source by Preeti D G

Leave a Reply

Your email address will not be published. Required fields are marked *