Package Information
- Last Updated
- Authors
- Joel von Rotz
- Categories
- visualization
- Dependencies
- @preview/cetz:0.5.2
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/digidraw:0.9.32. Import in your Typst file
Add this to your .typ file:
#import "@preview/digidraw:0.9.3": *Version History
A drawing package to draw digital timing diagrams using the WaveDrom syntax. Some WaveDrom data are compatible with Digidraw and some are not, but I plan or hope to implement those. Reasonable input/feedback is welcome!
- Read the Manual on how to use the specifics of this package
Features
- Draw wires, buses, clocks and other symbol types
- A lot of these elements are 1:1 from WaveDrom, but not everthing is inside!
- Support for inserting labels into buses (similar to Wavedrom)
- Support for typst markup for bus labels, when reading from a json file.
"data": ["#strong([hello])"] - Configurable style settings to change fonts, stroke styling and sizing
Examples
Click on the image for the source.
|
Source: https://wavedrom.com/tutorial.html#spacers-and-gaps example's JSON file: examples/example1.json |
|
Source: https://wavedrom.com/tutorial.html#adding-clock example's JSON file: examples/example2.json |
|
|
|
|
|
|
Changelog
See CHANGELOG.md
ToDo
See TODO.md in the Codeberg repository