d2
d2 copied to clipboard
Missing components like loop, alt and destroy
Is there any way to implement loops, alts and destroy is a nice manner? I cannot find such these components in de docs.
What are these? @romlodihc
@alixander This is regarding sequence diagrams. When creating sequence diagrams, you have these components to clarify your sequence diagram. Alt is for example for your if/else or switch statement.
Example of an alt: https://th.bing.com/th/id/OIP.YnkJOS_yvZBHQzjDd9u_7gHaE-?rs=1&pid=ImgDetMain Example of a loop: https://th.bing.com/th/id/R.d72eb684dbc7915bc95ac0426a0ae03d?rik=v3A%2bSifsrSAniQ&riu=http%3a%2f%2fwww.cs.sjsu.edu%2ffaculty%2fpearce%2fmodules%2flectures%2fuml%2finteraction%2fSequenceDiagrams_files%2fimage016.jpg&ehk=Xea6SUKXk87xcNqDr4l8DxQSCWc3b3Sb7xh3K99knTc%3d&risl=&pid=ImgRaw&r=0 Example of a destroy: https://th.bing.com/th/id/R.09b093d7db1b6255512b883ff47000b8?rik=%2fXO71BHqFtolZg&pid=ImgRaw&r=0&sres=1&sresct=1