Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.28 KB

File metadata and controls

54 lines (34 loc) · 1.28 KB

Draw.io Desktop WaveDrom Plugin

This draw.io plugin integrates the WaveDrom diagram generator.

WaveDrom supports:

  • Timing diagrams
  • Bit-field diagrams

via a simple json schema.

Overview

  • Example diagrams

Usage

  • double click on a shape and edit the json, the shape will be redrawn after leaving the editor

Properties

  • properties are reflected as draw.io shape properties

How to build

  1. git clone --recursive https://github.com/nopeslide/drawio_wavedrom_plugin.git ~/drawio_wavedrom_plugin
  2. cd ~/drawio_wavedrom_plugin/drawio_desktop
  3. npm install
  4. npm run build

How to install

  1. open draw.io desktop
  2. select on the top menu bar Extras/Plugins...
  3. click Add
  4. click Select File... for External Plugins:
  5. select ~/drawio_wavedrom_plugin/drawio_desktop/dist/wavedrom-plugin.webpack.js
  6. click OK
  7. click Apply
  8. confirm Dialog

Draw.io copies the plugin into an internal directory, making updates impossible!

To link the plugin with the repository:

  1. run ln -sfr ~/drawio_wavedrom_plugin/drawio_desktop/dist/wavedrom-plugin.webpack.js ~/.config/draw.io/plugins/