from net_4choose2 access *;

network N1 = four_choose_two();
network N2 = four_choose_two(named_inputs=false);

picture P1, P2;

N1.draw(P1);
N2.draw(P2, draw_execution=true);

string labels[] = {"", "$i_1 \,\quad j_1$", "$i_3 \,\quad \ell_3$", "$i_2 \,\quad k_2$", "$k_6 \,\quad \ell_6$", "$j_4 \,\quad k_4$", "$j_5 \,\quad \ell_5$"};
for (int i = 1; i <= 6; ++i) {
  label(P1, labels[i], position=(40*i, -17), magenta+fontsize(10pt));
  //  label(P2, labels[i], position=(40*i, 20));
}

add(P1);
add(P2, (max(P1).x+10, 0));
