• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

sequence-diagram

A simple, textual way to draw sequence diagrams in Atom
  • #message
  • #sequence
  • #chart
  • #diagram
  • #msc
sharvil
0.0.2 2,642
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Sequence Diagrams

A simple, textual way to draw sequence diagrams in Atom. Write out the diagram in any buffer and press ctrl+s to see a live rendering.

sequence-diagram demo

Example

# Lines starting with # are comments.
title: Secure food delivery

# We can optionally create aliases for participants so they have
# shorter names.
participant Bob as b

Alice->Bob: Authentication request

# Instead of referring to "Bob" we can use his alias, "b".
note right of b: Thinks about it
Bob->Alice: Authentication response
Alice-->Bob: optional negotiation
Bob-->Alice: negotiation response
note over Alice, Bob: Authentication complete

note left of Alice: Hungry...
Alice->>Bob: Food request
Bob->Bob: Procure food
Bob->>Alice: Food response
note over Alice, Bob: Transaction complete

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by