This draw.io plugin integrates the WaveDrom diagram generator.
WaveDrom supports:
- Timing diagrams
- Bit-field diagrams
via a simple json schema.
- double click on a shape and edit the json, the shape will be redrawn after leaving the editor
- properties are reflected as draw.io shape properties
git clone --recursive https://github.com/nopeslide/drawio_wavedrom_plugin.git ~/drawio_wavedrom_plugin
cd ~/drawio_wavedrom_plugin/drawio_desktop
npm install
npm run build
- open draw.io desktop
- select on the top menu bar
Extras
/Plugins...
- click
Add
- click
Select File...
forExternal Plugins:
- select
~/drawio_wavedrom_plugin/drawio_desktop/dist/wavedrom-plugin.webpack.js
- click
OK
- click
Apply
- confirm Dialog
Draw.io copies the plugin into an internal directory, making updates impossible!
To link the plugin with the repository:
- run
ln -sfr ~/drawio_wavedrom_plugin/drawio_desktop/dist/wavedrom-plugin.webpack.js ~/.config/draw.io/plugins/