Skip to content

Instantly share code, notes, and snippets.

@op-ct
Last active January 14, 2020 20:19
Show Gist options
  • Select an option

  • Save op-ct/a184c31719bd2e326ebd320f0302cb77 to your computer and use it in GitHub Desktop.

Select an option

Save op-ct/a184c31719bd2e326ebd320f0302cb77 to your computer and use it in GitHub Desktop.
mscgen_js sequence diagram with emoji+labels (πŸ‘³πŸ¦πŸ­)
# Sequence diagram with emoji+labels using the MscGen language
#
# https://mscgen.js.org/
# https://mscgen.js.org/tutorial.html
msc {
hscale="0.7",
width="700";
"πŸ‘³" [label="πŸ‘³\ndude", linecolor="darkgreen", textcolor="darkgreen", arclinecolor="darkgreen", arctextcolor="darkgreen"],
"🏦" [label="🏦\nvendor"],
"🏭" [label="🏭\nfactory"];
"πŸ‘³" =>> "🏦" [label="πŸ’°@🏭"];
"🏦" >> "πŸ‘³" [label="πŸ“„"],
"🏦" =>> "🏭" [label="πŸ’Ά"];
"🏭" =>> "🏭" [label="πŸ‘·+πŸ”§"];
"🏭" => "πŸ‘³" [label="πŸ“¦"];
"πŸ‘³" -> "🏭" [label="πŸ‘Œ πŸ‘πŸ‘πŸ‘"];
}
# Sequence diagram with emoji+labels using the MscGenny language (no color)
#
# https://mscgen.js.org/
# https://mscgen.js.org/tutorial.html
hscale="0.7",
width="700";
πŸ‘³ : "πŸ‘³\ndude",
🏦 : "🏦\nvendor",
🏭 : "🏭\nfactory";
πŸ‘³ =>> 🏦 : "πŸ’°@🏭";
🏦 >> πŸ‘³ : "πŸ“„",
🏦 =>> 🏭 : "πŸ’Ά";
🏭 =>> 🏭 : "πŸ‘·+πŸ”§";
🏭 => πŸ‘³ : "πŸ“¦";
πŸ‘³ -> 🏭 : "πŸ‘Œ πŸ‘πŸ‘πŸ‘";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment