Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

sverweij/atom-mscgen-preview

MscGen Preview


⚠️ status 2023-05-05: archived

As the atom editor is no more, this plugin is archived and will be maintained anymore.


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.