biclique.tex (698B)
1 \begin{tikzpicture}[n/.style={circle,fill=black,inner sep=0.7mm}] 2 \matrix[matrix of nodes, column sep=1cm] at (0, 8mm) { 3 \node[n] (a1) {}; & 4 \node[n] (a2) {}; & 5 \node[n] (a3) {}; & 6 \node[n] (a4) {}; \\ 7 }; 8 \matrix[matrix of nodes, column sep=1cm] at (0, -8mm) { 9 \node[n] (b1) {}; & 10 \node[n] (b2) {}; & 11 \node[n] (b3) {}; \\ 12 }; 13 14 \foreach \i in {1,...,4}{ 15 \foreach \j in {1,...,3}{ 16 \draw[-{Latex[width=1mm]}] (a\i) -- (b\j); 17 } 18 } 19 20 \node[draw, Dark2-A, thick, dashed, fit=(a1) (a4), inner sep=2mm] (a) {}; 21 \node[draw, Dark2-B, thick, dashed, fit=(b1) (b3), inner sep=2mm] (b) {}; 22 23 \node[left=0.2mm of a.west] {\(A\)}; 24 \node[left=0.2mm of b.west] {\(B\)}; 25 \end{tikzpicture}