Activity diagram, sesuai dengan namanya diagram ini menggambarkan tentang aktifitas yang terjadi pada sistem. Dari pertama sampai akhir, diagram ini menunjukkan langkah – langkah dalam proses kerja sistem yang kita buat.
Perbedaan sederhana dari 3 (tiga) diagram tersebut dapat dilihat dari tujuan diagram tersebut dibuat, yaitu. Dan Activity Diagram? ” Rista Meytasari on January 5. Jelassss nih jawabannya sesuai dengan pertanyaan ? good Dita. Log in to Reply. Ria Utami on January 5, 2016 at 1:57 pm said: wah yang ini sangat bermanfaat sekali untuk Ria.
5 thoughts on “ Apa perbedaan antara Use Case, Sequence, dan Activity Diagram? Rista Meytasari on January 5, 2016 at 5:08 am said: Jelassss nih jawabannya sesuai dengan pertanyaan ? good Dita.
I realise these two diagrams are very similar, with the obvious difference one models the sequence of a certain function, whilst the other models the state throughout a function being carried out.
The differences that I have identified are as follows - probably incorrect:
State chart is more of a logical view of any functionality, showing a wider array of deviating paths - however, saying that, sequence diagrams also have the ability to provide alternate (alt) paths, conditions, loops etc.
A sequence diagram is aimed at one specific function, e.g. withdrawing money from your bank account, whereas a state chart can model a whole system.
Scott Ambler provides a very good overview of UML sequence diagrams and UML state chart/machine diagrams.
Your differences aren't actually that far from the truth, though.
A sequence diagram typically shows the execution of a particular use case for the application and the objects (as in instances of a class) that are involved in carrying out that use case. It could either show a single path, or all of the various paths, through the use case, starting with an actor (user, external system, event) initiating some kind of action.
State diagrams show the various states that are valid for an object (which could be anything from a method to a class to the system as a whole). That could be a particular class or the system as a whole. This type of diagram shows what actions are valid for a given object, depending on what state it is currently in.
Perbedaan State Diagram Dengan Activity Diagram For Online Banking