/atom-js-code-to-svg-to-preview

JS code selection to svg flowchart with live preview

Primary LanguageJavaScriptMIT LicenseMIT

JS Code Selection to SVG Flowchart to Preview

A wrapper for:

Commands

ctrl-alt-o:toggle

Instructions

  • Write Javascript.
  • Select a function or object or entire file.
  • Hit ctrl-alt-o.
  • Rename selection.svg to [your-svg-name].svg and save.
  • If you want/need -> Edit svg and watch live preview.
  • Right click on preview to Export to png.

Screenshot

TODO:

  • Tests
  • Coffeescript?