1: \begingroup
2: \unitlength=1mm
3: \begin{picture}(65, 20)(0, 0)
4: %\put(0, 0){\framebox(65, 20)}
5: %\multiput(-10, -10)(10, 0){17}{\line(0, 1){6}} \multiput(-10, -10)(1, 0){150}{\line(0, 1){2}}
6: %\multiput(-10, 70)(10, 0){17}{\line(0, -1){6}} \multiput(-10, 70)(1, 0){150}{\line(0, -1){2}}
7: %\multiput(-10, -10)(0, 10){7}{\line(1, 0){6}} \multiput(-10, -10)(0, 1){70}{\line(1, 0){2}}
8: %\multiput(160, -10)(0, 10){7}{\line(-1, 0){6}} \multiput(160, -10)(0, 1){70}{\line(-1, 0){2}}
9:
10: \psset{xunit=1mm, yunit=1mm, linewidth=0.2mm}
11:
12: \rput(2, 5){\cnodeput(0, 0){Source}{$s$}}
13: \rput(60, 5){\cnodeput(0, 0){Destination}{$d$}}
14: \rput(20, 5){\cnodeput(0, 0){Relay1}{$1$}}
15: \rput(42, 5){\cnodeput(0, 0){Relay2}{$2$}}
16:
17: \pnode(2, 18){Source1}
18: \pnode(2, 11){Source2}
19: \pnode(2, 16){Source3}
20: \pnode(60, 18){Destination1}
21: \pnode(60, 11){Destination2}
22: \pnode(60, 16){Destination3}
23: \pnode(20, 13){Relay11}
24: \pnode(20, 11){Relay12}
25: \pnode(42, 13){Relay21}
26: \pnode(42, 11){Relay22}
27:
28: \ncline{-}{Source}{Source1}
29: \ncline{-}{Destination}{Destination1}
30: \ncline{-}{Relay1}{Relay11}
31: \ncline{-}{Relay2}{Relay21}
32:
33: \ncline{<->}{Source2}{Relay12}\naput{$r$}
34: \ncline{<->}{Relay22}{Destination2}\naput{$r$}
35: \ncline{<->}{Source3}{Destination3}\naput{$1$}
36: \end{picture}
37: \endgroup
38:
39: