digraph { W0[label="[1]" shape="diamond"]; W1[label="[1]" shape="diamond"]; W2[label="[1]" shape="diamond"]; C0[label="AND" shape="box"]; W0 -> C0[headlabel="A"]; W1 -> C0[headlabel="B"]; C0 -> W2[taillabel="Out"]; }