Nodus Draw: Timing diagrams
Nodus Draw draws digital timing diagrams: lanes of signals over time (clocks, levels, buses with their values, unknown and high-impedance states), as WaveDrom draws them. Draw one with the Timing diagram tool, or open a WaveDrom file (see Files); either way it is the same kind of object, edited in the same ways.
The timing diagram is one object: move it, copy it and export it as any other. The shape tool edits its bits, not its lines. To edit its lines and text as ordinary shapes, use Convert to Curves (it is then no longer a timing diagram).
Drawing one
Follow this link for a video showing how to draw a timing diagram in Nodus Draw.
Choose the Timing diagram tool and drag to give the size of half a bit: drag across for its bottom edge (a square), up or down for its left side, or from corner to corner. Each bit is twice as wide as that, so a drag of one grid square gives a bit two squares wide and one high. Then move right: bits are added as the pointer passes into each one (the status bar counts them). Click to finish. New bits are "unknown" (hatched).
With the timing diagram selected, click above, below or between its lanes to add another lane as long as the others.
Changing bits with the shape tool
Choose the shape tool (F10). The bit under the pointer shows its handles (with nothing selected, those of whichever timing diagram is under the pointer; using one selects that diagram):
- drag the square (in the middle of the bit, or on top of a high bit and at the bottom of a low one) up for high, down for low, to the middle for unknown, or to the "z" just left of the middle for high impedance (mid-level); a label that says "1" or "0" changes with the level;
- drag a diamond (an edge, where it is drawn or at the start of its bit) left or right to make the bits on one side longer, a whole bit at a time;
- drag the circle at the end of a sloped edge to the start of its bit
for an upright edge, or back for a sloped one; drag it on, about half-way
along the bit, for a pull up or pull down (a slow R-C curve, as
WaveDrom's
uandd), whose square is then further along the bit; drag a pull's circle on along its dotted level, nearly to the end of the bit, to draw the levels after every pull in the diagram solid, and again to make them dotted; - drag the triangle at the lane's left end right to start the lane later (the other lanes get longer at the end to match), or left to cut bits off its start; hold Shift to move the whole wave (its phase) by half bits instead;
- drag the triangle at the lane's right end to make every lane longer or shorter.
Choosing bits and the right-click menu
With the shape tool, click a bit to choose it, Ctrl+click to add or take away another in the same lane, or Shift+click to choose every bit from the last one you clicked; or right-click a bit. With the pick tool, Ctrl+click a bit to choose it (Ctrl+Shift+click for every bit from the last one). Chosen bits are shaded.
The right-click menu then:
- changes the chosen bits (Bits): high, low, unknown, high impedance, a data value or a gap; and every other kind of WaveDrom bit: upright edges with or without arrows, pull ups and downs, data values in WaveDrom's colours, and clocks; and schemdraw's: clocks with sloped edges, differential clocks and levels (the other line dotted in grey) and Nothing (no line at all). The kind the chosen bits are is ticked. Gap in This Lane puts a gap (a break in time) in the chosen bits, and Gap in All Lanes puts one at the same time in every lane, as WaveDrom's diagrams often have; choose either again to take the gaps away. A gap can go on any bit but the first, even where the lane changes (Nodus Draw's own: WaveDrom does not draw those, and Export WaveDrom… says so);
- edits a bit's label;
- works on their Lane: its name, making it a clock, converting a clock to half-period bits (to edit each half) and back, inserting a lane above or below, or deleting it.
The same changes are buttons on the Timing diagram tab of the Properties
docker while bits are chosen. Under Bits, each small button shows what it
makes, with WaveDrom's letter for it (hover over one for its name): levels
(1, 0, and with upright edges or arrows h, l, H, L), others (slow
edges u and d, unknown x, high impedance z, … to carry on the bit
before, a gap in this lane, and one with three lines through it for a gap
in all lanes), data values in their colours, and clock bits; then
Label…. Under Lane: the kinds of clock (WaveDrom's four, and schemdraw's with sloped edges and differential ones), Name…, Delay
upright edges too and the lane's own edge delay. The kind the chosen bits are is shown pressed.
Colours and text
Click a colour on the palette, or choose one on the Properties docker's Fill tab, to fill the chosen bits with it (only those bits, even part of a longer value; their labels stay). With the colour eyedropper, Shift+click a bit to fill it with the colour picked up. Filled with one of WaveDrom's own data colours, a bit becomes that kind of value, as its button on the Timing diagram tab makes it.
On the Character tab, a font (or bold or italic) is used for every bit's label, while a size or colour is only the chosen bits' own, to fit a long label or show light text on a dark fill. On the Outline tab, a colour or width is used for all the diagram's lines.
The lane and group names share one format: Ctrl+click a name with the pick tool, then set the font, size or colour on the Character tab or click a colour on the palette.
With the text tool, click a bit to give it a label, or just left of a lane to name it, and type it there, as any text; Enter finishes it. A click on any bit of a data value that spans several bits labels the whole value, in its middle. On a level (high, low and so on), only the bit clicked gets the label: it becomes a bit of its own.
The Timing diagram tab
The Timing diagram tab of the Properties docker sets the width and height
of a bit, the space between lanes, the text's size, whether edges slope, and
how long after the start of its bit a sloped edge is (for the whole diagram,
or for the lane whose bits are chosen). Upright edges (a clock's, h, l,
H and L, or every edge with sloped edges off) stay on the start of their
bit unless their lane has Delay upright edges too ticked; a lane's own
edge delay is greyed out while it would move nothing. With a pull up or down
in the diagram, it also sets whether the level after its curve is dotted (as
WaveDrom draws it) or solid, and the Pull rise time: how long the curve
takes, in bits. A delay moves the curve without changing its length. A Bit period (such as 10 ns) lets
measurements show time (see below).
Features says what the diagram may use: everything Nodus Draw draws (the usual), WaveDrom with schemdraw's additions, or WaveDrom only, for a diagram you will export to WaveDrom. Choosing less changes the diagram to the nearest it can be (undo puts it back): schemdraw's clocks become WaveDrom's, colours WaveDrom's nearest, and so on; what it may not use is then greyed out. Notch at a repeated 0 or 1 marks a bit at the same level as the one before (made on its own rather than carried on) as WaveDrom does, with a small dip or bump; it is on with WaveDrom only.
With a lane's bits chosen, the tab also gives the lane its own line colour and a line width (times the diagram's). Dotted lines at every period turns the diagram's dotted lines on or off.
Stretching a timing diagram makes its bits wider or taller and leaves its text the size it was.
Taking bits out
The smart trim tool (scissors) takes a bit out of a lane: the bits after it move left and the lane's last state goes on, so the lane keeps its length; on the last bit, the lane gets shorter. Hold Shift to take the bit out of every lane (or, on the last bit, to shorten every lane). The bits that would go are outlined in red under the pointer.
Arrows between transitions
To draw an arrow between transitions (as WaveDrom's), use the connector tool: every lane has an anchor point on each of its transitions (on the edge as it is drawn, every edge of a clock too), half-way up, and both ends can be on the same timing diagram. The arrow is drawn in WaveDrom's blue; choose Curved connector on the property bar for WaveDrom's curve, add arrowheads on the Properties docker, and right-click it to Add label. Move its ends with the shape tool. It stays on its lanes when lanes are added or deleted, and is saved as one of WaveDrom's arrows when the diagram is exported to WaveDrom.
Labelling transitions
To label a transition (a bit boundary, as WaveDrom's node names), right-click near it and choose Label Transition…. The label is drawn on the transition, above any arrows, and stays on it as the diagram changes; right-click the label and choose Label Transition… again to change it, or leave the label empty to remove it.
Groups of lanes
To group lanes (a curly brace with a name beside them), use the shape tool: drag up or down just left of the lanes' names, from the first lane of the group to the last, and type the group's name. Drag the small square at the top or bottom of a brace to change which lanes it covers. Groups can be inside other groups, but not overlap them in part. Click a brace with the text tool to rename the group, or right-click it and choose Ungroup Lanes. Braces are drawn in the colour of the lane names. To draw groups with parentheses instead, as WaveDrom draws them, tick Parentheses for lane groups on the Timing diagram tab of the Properties docker; diagrams opened from WaveDrom files start with them.
Head and foot
A timing diagram can have a head and a foot: a line of text and a row of numbers above or below its lanes. Click above the first lane (or below the last) with the text tool to type the text. To number the periods, right-click the diagram and choose Head or Foot, then Numbers on Period Edges or Numbers Between Edges; First Number… and Number Every… set where the numbers start and how often they appear.
Measuring time
To measure time between two transitions, use the dimension tool: click one transition, then another, then where the measurement's line should go. It shows the number of bit periods between them, or, once you type a Bit period on the Timing diagram tab, the time, in whichever unit gives the shortest number.
The same goes for a horizontal measurement between any two points on the timing diagram: from a transition to a dotted line drawn down over the diagram, from one such line to another, or from the top of a sloped edge. Measured up and down, or to a point off the diagram, it is in millimetres. For a time, Show the unit (s) on the Dimension tab shows or leaves off its unit (such as "ns"); without a bit period it is greyed out.
WaveDrom files
Right-click a timing diagram and choose Export WaveDrom… to save it as a WaveDrom file. A window first shows what will be saved (copy it from there if you prefer), says what in the diagram WaveDrom will not draw as Nodus Draw does (such as gaps where a lane changes, or schemdraw's kinds of bit), and lets you choose schemdraw's Python instead, which draws more of them; Save As… saves it. Opening WaveDrom files, and the sizes they are drawn at, are on the Files page.
This website is free and ad-free, but costs me money to run. If you'd like to support this site, please consider making a small donation or sending me a message to let me know what you liked or found useful.

