mscgen-preview
Write and preview sequence charts with MscGen and its brethren with `ctrl-shift-G`.
sverweij 3,527 8 1.12.20 GPL-3.0 GitHub

MscGen Preview

Write and preview sequence charts with MscGen and its brethren with ctrl-shift-G.

Enabled for .mscgen, .msc, .mscin, .xu, and .msgenny extensions.

animated gif demoing live preview of a simple sequence chart

Features

  • syntax highlighting from the language-mscgen package - so no need to install that separately.
  • realtime rendering of your sequence chart
  • SVG export - to file or clipboard
  • PNG export - to file
  • Uses the pure javascript mscgenjs package for parsing and rendering, so apart from MscGen (*.mscgen, *.mscin, *.msc) it supports
    • (*.xu)
      A little language that adds things like alt and loop to MscGen. See the Xù wiki page for more information.
    • MsGenny (*.msgenny)
      Xù with a simplified syntax. And a little less features. The MsGenny wiki page has more information.
  • Frictionless conversion MscGen/ Xù <=> MsGenny
    • Check the editor context menu for
      • MsGenny -> MscGen/ Xù,
      • MscGen -> MsGenny and
      • Xù -> MsGenny
    • or use Mscgen Preview: Translate in the command palette.

License information

This software is free software licensed under GPL-3.0. This means (a.o.) you can use it as part of other free software, but not as part of non free software.

Build status

Build Status Build status Code Climate Dependency Status devDependency Status