Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Does this get you started?</p> <pre><code>digraph G { graph [rankdir = LR]; node[shape=record]; Bar[label="{ \"Bar\"|{&lt;p1&gt;pin 1|&lt;p2&gt;     2|&lt;p3&gt;     3|&lt;p4&gt;     4|&lt;p5&gt;     5} }"]; Foo[label="{ {&lt;data0&gt;data0|&lt;data1&gt;data1|&lt;data2&gt;data2|&lt;data3&gt;data3|&lt;data4&gt;data4}|\"Foo\" |{&lt;out0&gt;out0|&lt;out1&gt;out1|&lt;out2&gt;out2|&lt;GND&gt;gnd|&lt;ex0&gt;ex0|&lt;hi&gt;hi|&lt;lo&gt;lo} }"]; Bew[label="{ {&lt;clk&gt;clk|&lt;syn&gt;syn|&lt;mux0&gt;mux0|&lt;mux1&gt;mux1|&lt;signal&gt;signal}|\"Bew\" |{&lt;out0&gt;out0|&lt;out1&gt;out1|&lt;out2&gt;out2} }"]; Bar:p1 -&gt; Foo:data0; Bar:p2 -&gt; Foo:data1; Bar:p3 -&gt; Foo:data2; Bar:p4 -&gt; Foo:data3; Bar:p5 -&gt; Foo:data4; Foo:out0 -&gt; Bew:mux0; Foo:out1 -&gt; Bew:mux1; Bew:clk -&gt; Foo:ex0; Gate[label="{ {&lt;a&gt;a|&lt;b&gt;b}|OR|{&lt;ab&gt;a\|b} }"]; Foo:hi -&gt; Gate:a; Foo:lo -&gt; Gate:b; Gate:ab -&gt; Bew:signal; } </code></pre> <blockquote> <blockquote> <blockquote> <p><img src="https://i.stack.imgur.com/q52Nb.png" alt="enter image description here"></p> </blockquote> </blockquote> </blockquote> <p>Note that I used nonbreaking spaces as a cheeky way to get the alignment (I think, I did <sub><sup><kbd>C-k</kbd><kbd>Space</kbd><kbd>Space</kbd></sup></sub> in vim, leading to Hex <code>00a0</code> char)</p> <p>You can also employ HTML inside the label definitions, so you can use fonts, colors and create 'spacers': <a href="http://www.graphviz.org/doc/info/shapes.html#html" rel="noreferrer">http://www.graphviz.org/doc/info/shapes.html#html</a></p> <p>I suppose aligning labels would be easier with HTML nodes.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload