Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/noeud1.tex

raw
1 \SbSSCT{Les types de n\oe uds }{Types of nodes}
2 \label{nodes}
3
4 \psset{fillcolor=yellow,fillstyle=solid,linecolor=blue,unit=1cm}
5
6
7 \SbSbSSCTTC{Avec coordonnées}{Avec coordonnées \protect \footnote{fillcolor=yellow,linecolor=blue} }{ With coordinates}{With coordinates \protect \footnote{fillcolor=yellow,linecolor=blue} }
8
9 \begin{tabular}{|c|c|c|} \hline
10 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
11 \dotnode(.5,0.5){A}
12 \end{psgraph*}
13 &
14 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
15 \fnode(.5,0.5){B}
16 \end{psgraph*}
17 &
18 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
19 \fnode[framesize=.5 5pt](.5,0.5){B}
20 \end{psgraph*}
21 \\ \hline
22 \BSS{dotnode}(.5,0.5)\AC{A} \BSI{dotnode}{pst-node}
23 &
24 \BSS{fnode}(.5,0.5)\AC{B} \BSI{fnode}{pst-node}
25 &
26 \BSS{fnode}[\RDD{framesize}=.5 5pt](.5,0.5)\AC{B}
27 \RDI{framesize}{pst-node}
28 \\ \hline
29 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
30 \dotnode*(.5,0.5){A}
31 \end{psgraph*}
32 &
33 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
34 \fnode*(.5,0.5){B}
35 \end{psgraph*}
36 &
37 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
38 \fnode*[framesize=.5 5pt](.5,0.5){B}
39 \end{psgraph*}
40 \\ \hline
41 \BSS{dotnode}*(.5,0.5)\AC{A} \BSI{dotnode}{pst-node}
42 &
43 \BSS{fnode}*(.5,0.5)\AC{B} \BSI{fnode}{pst-node}
44 &
45 \BSS{fnode}*[\RDD{framesize}=.5 5pt](.5,0.5)\AC{B}
46 \RDI{framesize}{pst-node} \\ \hline
47 \end{tabular}
48
49 \bigskip
50
51 \begin{tabular}{|c|c|c|} \hline
52 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
53 \pnode(.5,0.5){A}
54 \end{psgraph*}
55 &
56 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
57 \cnode(.5,0.5){.2cm}{A}
58 \end{psgraph*}
59 &
60 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
61 \Cnode[radius=.2cm](.5,0.5){A}
62 \end{psgraph*}
63 \\ \hline
64 \BSS{pnode}(.5,0.5)\AC{A} &
65 \BSS{cnode}(.5,0.5)\AC{.2cm}\AC{A} &
66 \BSS{Cnode}[radius=.2cm](.5,0.5)\AC{A}
67 \\ \hline
68 %\begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
69 %\pnode(.5,0.5){A}
70 %\end{psgraph*}
71 &
72 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
73 \cnode*(.5,0.5){.2cm}{A}
74 \end{psgraph*}
75 &
76 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
77 \Cnode*[radius=.2cm](.5,0.5){A}
78 \end{psgraph*}
79 \\ \hline
80 %\BSS{pnode}*(.5,0.5)\AC{A}
81 &
82 \BSS{cnode}*(.5,0.5)\AC{.2cm}\AC{A} &
83 \BSS{Cnode}*[radius=.2cm](.5,0.5)\AC{A}
84 \\ \hline
85 \end{tabular}
86
87 \bigskip
88
89 \begin{tabular}{|c|c|c|} \hline
90 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
91 \psnode(.5,0.5){A}{contenu}
92 \end{psgraph*}
93 &
94 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
95 \cnodeput{45}(.5,0.5){M}{contenu}
96 \end{psgraph*}
97 &
98 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
99 \Cnodeput[radius=1cm]{45}(.5,0.5){M}{contenu}
100 \end{psgraph*}
101 \\ \hline
102 \BSS{psnode}(.5,0.5)\AC{A}\AC{contenu} \BSI{psnode}{pst-node}
103 &
104 \BSS{cnodeput}\AC{45}(.5,0.5) \BSI{cnodeput}{pst-node}
105 &
106 \BSS{Cnodeput}[radius=1cm] \BSI{Cnodeput}{pst-node} \\
107 & \AC{M}\AC{contenu} & \AC{45}(2,0)\AC{M}\AC{contenu}
108 \\ \hline
109
110 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
111 \psnode*(.5,0.5){A}{contenu}
112 \end{psgraph*}
113 &
114 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
115 \cnodeput*{45}(.5,0.5){M}{contenu}
116 \end{psgraph*}
117 &
118 \begin{psgraph*}[axesstyle=none,xticksize= 0 1 ,yticksize=0 1 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(1,1){2cm}{2cm }
119 \Cnodeput*[radius=1cm]{45}(.5,0.5){M}{contenu}
120 \end{psgraph*}
121 \\ \hline
122 \BSS{psnode}*(.5,0.5)\AC{A}\AC{contenu} \BSI{psnode}{pst-node}
123 &
124 \BSS{cnodeput}*\AC{45}(.5,0.5) \BSI{cnodeput}{pst-node}
125 &
126 \BSS{Cnodeput}*[radius=1cm] \BSI{Cnodeput}{pst-node} \\
127 & \AC{M}\AC{contenu} & \AC{45}(2,0)\AC{M}\AC{contenu}
128 \\ \hline
129 \end{tabular}
130
131 \vspace{1cm}
132
133 \begin{tabular}{|c|}\hline
134 Texte avant \Cnodeput*[radius=1cm]{45}(0,0){M}{contenu} texte près
135 \\ \hline \\ \\
136 Texte avant \BS{Cnodeput}*[radius=1cm]\AC{45}(0,0)\AC{M}\AC{contenu} texte près \\
137 {\red \TFRGB{Ces n\oe uds n'ont pas de dimension}{These nodes do not have dimension} !}
138 \\ \hline
139 \end{tabular}
140
141 %-----------------------------------------------------------------
142 \SbSSCT{Sans coordonnées}{Without coordinates}
143
144 \begin{tabular}{|c|c|c|} \hline
145 \rnode{A}{contenu}
146 &
147 \Rnode{B}{contenu}
148 &
149 \rnode{C}{\psframebox{contenu}}
150 \\ \hline
151 \BSS{rnode}\AC{A}\AC{contenu} \BSI{rnode}{pst-node}
152 &
153 \BSS{Rnode}\AC{B}\AC{contenu} \BSI{Rnode}{pst-node}
154 &
155 \BSS{rnode}\AC{C}\AC{\BS{psframebox}\AC{contenu}} \BSI{rnode}{pst-node}
156 \\ \hline
157
158 &
159 \Rnode*{B}{contenu}
160 &
161 \rnode{C}{\psframebox*{contenu}}
162 \\ \hline
163
164 &
165 \BSS{Rnode}*\AC{B}\AC{contenu} \BSI{Rnode}{pst-node}
166 &
167 \BSS{rnode}\AC{C}\AC{\BS{}psframebox*\AC{contenu}} \BSI{rnode}{pst-node}
168 \\ \hline
169 \end{tabular}
170
171 \bigskip
172
173 \begin{tabular}{|c|c|} \hline
174 \trinode{A}{contenu}
175 &
176 \trinode*{B}{contenu}
177 \\ \hline
178 \BSS{trinode}\AC{A}\AC{contenu} \BSI{trinode}{pst-node}
179 &
180 \BSS{trinode}*\AC{B}\AC{contenu}
181 \\ \hline
182 \end{tabular}
183
184 \bigskip
185
186 \begin{tabular}{|c|}\hline
187 Texte avant \dianode{A}{contenu} texte près
188 \\ \hline
189 Texte avant \BS{dianode}\AC{A}\AC{contenu} texte près
190 \\ \hline
191 \end{tabular}
192
193 \bigskip
194
195 \begin{tabular}{|c|}\hline
196 \begin{psgraph*}[axesstyle=none,xticksize= 0 2 ,yticksize=0 2 , subticks=0, dx=.5,Dx=.5, dy=.5,Dy=.5 ](0,0)(0,0)(2,2){4cm}{4cm }
197 \rput(1,1){\dianode{A}{contenu}}
198 \end{psgraph*}
199 \\ \hline
200 \BSS{rput}(1,1)\AC{\BS{dianode}\AC{A}\AC{contenu}}
201 \\ \hline
202 \end{tabular}
203
204
205 %===================
206 \subsubsection{Création de n\oe uds multiples}
207
208 \begin{tabular}{|c|c|} \hline
209 \multicolumn{2}{|c|}{\BSS{dotnodes}[dotstyle=o](1, 0.5)\AC{A}(2, 2.5)\AC{B}(3, 1.5)\AC{C}}\\ \hline
210 \begin{psgraph}[axesstyle=none,xticksize=0 4,yticksize=0 4,subticks=0](0,0)(4,4){4cm}{4cm}
211 \dotnodes[dotstyle=o](1, 0.5){A}(2, 2.5){B}(3, 1.5){C}
212 \end{psgraph}
213 &
214 \begin{psgraph}[axesstyle=none,xticksize=0 4,yticksize=0 4,subticks=0](0,0)(4,4){4cm}{4cm}
215 \dotnodes[dotstyle=o](1, 0.5){A}(2, 2.5){B}(3, 1.5){C}
216 \end{psgraph} \\ \hline
217 \BS{dotnodes} & \BS{dotnodes*} \\
218 \hline
219 \end{tabular}
220 %%================================================
221 \newpage
222 \SbSSCT{Les connexions entre les n\oe uds}{Connections between nodes}
223 \label{liaisons}
224
225 \SbSbSSCTTC{Les types de connexions disponibles}{Les types de connexions disponibles \protect \footnote{fillcolor=white,linecolor=blue} }{Types of connections available} {Types of connections available \protect \footnote{fillcolor=white,linecolor=blue}}
226
227 \psset{fillcolor=white,fillstyle=none,linewidth=1pt}
228 \label{node}
229
230 \begin{tabular}{|l|c|c|} \hline
231
232 &\textbf{ \TFRGB{sans astérisque}{without asterisk}} & \textbf{\TFRGB{avec astérisque}{with asterisk}}\\ \hline
233 \BSS{ncline}\AC{->}\AC{A}\AC{B} \BSI{ncline}{pst-node}
234 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncline{->}{A}{B} \end{pspicture}
235 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncline*{->}{A}{B} \end{pspicture} \\ \hline
236
237 \BSS{nccurve}\AC{->}\AC{A}\AC{B} \BSI{nccurve}{pst-node}
238 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \nccurve{->}{A}{B} \end{pspicture}
239 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \nccurve*{->}{A}{B} \end{pspicture} \\ \hline
240
241 \BSS{ncarc}\AC{->}\AC{A}\AC{B} \BSI{ncarc}{pst-node}
242 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncarc{->}{A}{B} \end{pspicture}
243 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncarc*{->}{A}{B} \end{pspicture} \\ \hline
244
245 \BSS{ncbar}\AC{->}\AC{A}\AC{B} \BSI{ncbar}{pst-node}
246 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
247 \ncbar{->}{A}{B} \end{pspicture}
248 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
249 \ncbar*{->}{A}{B} \end{pspicture} \\ \hline
250
251 \BSS{ncdiag}\AC{->}\AC{A}\AC{B} \BSI{ncdiag}{pst-node}
252 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
253 \ncdiag{->}{A}{B} \end{pspicture}
254 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
255 \ncdiag*{->}{A}{B} \end{pspicture} \\ \hline
256
257 \BSS{ncdiagg}\AC{->}\AC{A}\AC{B} \BSI{ncdiagg}{pst-node}
258 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
259 \ncdiagg{->}{A}{B} \end{pspicture}
260 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
261 \ncdiagg*{->}{A}{B} \end{pspicture} \\ \hline
262
263 \BSS{ncangle}\AC{->}\AC{A}\AC{B} \BSI{ncangle}{pst-node}
264 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
265 \ncangle{->}{A}{B} \end{pspicture}
266 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
267 \ncangle*{->}{A}{B} \end{pspicture} \\ \hline
268
269
270 \BSS{ncangles}\AC{->}\AC{A}\AC{B} \BSI{ncangles}{pst-node}
271 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
272 \ncangles{->}{A}{B} \end{pspicture}
273 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
274 \ncangles*{->}{A}{B} \end{pspicture}\\ \hline
275
276
277 \BSS{nccircle}\AC{->}\AC{A}\AC{.3cm} \BSI{nccircle}{pst-node}
278 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
279 \nccircle{->}{A}{.3cm} \end{pspicture}
280 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
281 \nccircle*{->}{A}{.3cm} \end{pspicture} \\ \hline
282
283 \BSS{ncbox}\AC{->}\AC{A}\AC{B} \BSI{ncbox}{pst-node}
284 & boxsize
285 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
286 \ncbox*{A}{B} \end{pspicture} \\ \hline
287
288 \BSS{ncarcbox}\AC{->}\AC{A}\AC{B} \BSI{ncarcbox}{pst-node}
289 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
290 \ncarcbox{A}{B} \end{pspicture}
291 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
292 \ncarcbox*{A}{B} \end{pspicture}\\ \hline
293
294 \BSS{ncloop}\AC{->}\AC{A}\AC{B} \BSI{ncloop}{pst-node}
295 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,-.5){B}
296 \ncloop[loopsize=.7cm]{A}{B} \end{pspicture}
297 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,-.5){B}
298 \ncloop*[loopsize=.7cm]{A}{B} \end{pspicture} \\ \hline
299
300 \end{tabular}
301
302 \SbSbSSCT{Les noeuds comme des points de dessin }{Nodes as points}
303
304 \psset{fillcolor=white,fillstyle=none,linewidth=1pt}
305 %
306 \begin{tabular}{|l|c|c|} \hline
307 & \textbf{ \TFRGB{sans astérisque}{without asterisk}} & \textbf{\TFRGB{avec astérisque}{with asterisk}}\\ \hline
308 \BSS{pcline}\AC{->}(A)(B) \BSI{pcline}{pst-node}
309 &
310 \begin{pspicture}(0,-.5)(3 ,.5)
311 \dotnode[dotstyle=*](1,-.5){A}
312 \dotnode[dotstyle=*](2,0){B}
313 \pcline{->}(A)(B)
314 \end{pspicture}
315 &
316 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
317 \pcline*{->}(A)(B)
318 \end{pspicture}
319 \\ \hline
320
321 \BSS{pccurve}\AC{->}(A)(B) \BSI{pccurve}{pst-node}
322 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \pccurve{->}(A)(B) \end{pspicture}
323 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \pccurve*{->}(A)(B) \end{pspicture} \\ \hline
324
325 \BSS{pcarc }\AC{->}(A)(B) \BSI{pcarc}{pst-node}
326 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \pcarc {->}(A)(B) \end{pspicture}
327 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \pcarc *{->}(A)(B) \end{pspicture} \\ \hline
328
329 \BSS{pcbar}\AC{->}(A)(B) \BSI{pcbar}{pst-node}
330 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
331 \pcbar{->}(A)(B) \end{pspicture}
332 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
333 \pcbar*{->}(A)(B) \end{pspicture} \\ \hline
334
335 \BSS{pcdiag}\AC{->}(A)(B) \BSI{pcdiag}{pst-node}
336 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
337 \pcdiag{->}(A)(B) \end{pspicture}
338 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
339 \ncdiag*{->}{A}{B} \end{pspicture} \\ \hline
340
341 \BSS{pcdiagg }\AC{->}(A)(B) \BSI{pcdiagg}{pst-node}
342 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
343 \pcdiagg {->}(A)(B) \end{pspicture}
344 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
345 \pcdiagg *{->}(A)(B) \end{pspicture} \\ \hline
346
347 \BSS{pcangle}\AC{->}(A)(B) \BSI{pcangle}{pst-node}
348 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
349 \pcangle{->}(A)(B) \end{pspicture}
350 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
351 \pcangle*{->}(A)(B) \end{pspicture} \\ \hline
352
353
354 \BSS{pcangles}\AC{->}(A)(B) \BSI{pcangles}{pst-node}
355 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
356 \pcangles{->}(A)(B) \end{pspicture}
357 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
358 \pcangles*{->}(A)(B) \end{pspicture}\\ \hline
359
360 \BSS{pcbox}\AC{->}(A)(B) \BSI{pcbox}{pst-node}
361 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
362 \pcbox(A)(B) \end{pspicture}
363 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
364 \pcbox*(A)(B) \end{pspicture} \\ \hline
365
366 \BSS{pcarcbox}\AC{->}(A)(B) \BSI{pcarcbox}{pst-node}
367 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
368 \pcarcbox(A)(B) \end{pspicture}
369 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,0){A} \dotnode[dotstyle=*](2,0){B}
370 \pcarcbox*(A)(B) \end{pspicture}\\ \hline
371
372 \BSS{pcloop }\AC{->}(A)(B) \BSI{pcloop}{pst-node}
373 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,-.5){B}
374 \pcloop [loopsize=.7cm](A)(B) \end{pspicture}
375 & \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,-.5){B}
376 \pcloop *[loopsize=.7cm](A)(B) \end{pspicture} \\ \hline
377
378 \end{tabular}
379 \newpage
380 %==================================================================
381 \SbSbSSCT{Les options disponibles}{Options available}
382
383 \psset{fillcolor=white}
384 \begin{tabular}{|c| c |c|} \hline
385 \multicolumn{3}{|c|}{ \BS{}ncline[nodesep=.3cm]\AC{->}\AC{A}\AC{B} } \\ \hline
386 & & \\
387
388 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,.5){B} \ncline[nodesep=.3cm]{->}{A}{B} \end{pspicture}
389 &
390 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,.5){B} \ncline[nodesepA=.2cm]{->}{A}{B} \end{pspicture}
391 &
392 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,.5){B} \ncline[nodesepB=.4cm]{->}{A}{B} \end{pspicture}
393 \\ \hline
394 \RDD{nodesep}=0.3cm \RDI{nodesep}{pst-node} & \RDD{nodesepA}=0.2cm \RDI{nodesepA}{pst-node} & \RDD{nodesepB}=0.4cm \RDI{nodesepB}{pst-node} \\ \hline
395 {\blue \dft{} : 0pt }& {\blue \dft{} : 0pt} & {\blue \dft{}: 0pt} \\ \hline
396 \end{tabular}
397 \bigskip
398
399 %---------------------------------------------------------
400 \begin{tabular}{|c| c |c|} \hline
401 \multicolumn{3}{|c|}{ \BS{}ncarc[arcangle=90]\AC{->}\AC{A}\AC{B} } \\ \hline
402
403 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
404 \ncarc[linestyle=dotted]{A}{B}
405 \ncarc[arcangle=90]{->}{A}{B}
406 \end{pspicture}
407 &
408 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
409 \ncarc[linestyle=dotted]{A}{B}
410 \ncarc[arcangleA=90]{->}{A}{B}
411 \end{pspicture}
412 &
413 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
414 \ncarc[linestyle=dotted]{A}{B}
415 \ncarc[arcangleB=90]{->}{A}{B}
416 \end{pspicture}
417 \\ \hline
418 \RDD{arcangle}=90 \RDI{arcangle}{pst-node} & \RDD{arcangleA}=90 \RDI{arcangleA}{pst-node}& \RDD{arcangleB}=90 \RDI{arcangleB}{pst-node} \\ \hline
419 {\blue \dft{}: 8} &{\blue \dft{}: 8} &{\blue \dft{} : 8}\\ \hline
420 \multicolumn{3}{|c|}{\cyan \TFRGB{seulement pour}{only for} \BS{ncarc} ! } \\ \hline
421
422 \end{tabular}
423 \bigskip
424
425 %---------------------------------------------------------
426 \begin{tabular}{|c| c |c|} \hline
427 \multicolumn{3}{|c|}{ \BS{}ncdiag[angle=90]\AC{->}\AC{A}\AC{B} } \\ \hline
428 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
429 \ncdiag[linestyle=dotted]{A}{B}
430 \ncdiag[angle=90]{->}{A}{B}
431 \end{pspicture}
432 &
433 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
434 \ncdiag[linestyle=dotted]{A}{B}
435 \ncdiag[angleA=15]{->}{A}{B}
436 \end{pspicture}
437 &
438 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
439 \ncdiag[linestyle=dotted]{A}{B}
440 \ncdiag[angleB=180]{->}{A}{B}
441 \end{pspicture}
442 \\ \hline
443 \RDD{angle}=90 \RDI{angle}{pst-node} &
444 \RDD{angleA}=15 \RDI{angleA}{pst-node} &
445 \RDD{angleB}=180 \RDI{angleB}{pst-node}\\ \hline
446 {\blue \dft{}: 0} & {\blue \dft{} : 0} & {\blue \dft{} : 0}\\ \hline
447 \end{tabular}
448 \bigskip
449
450 %---------------------------------------------------------
451 \begin{tabular}{|c| c |c|} \hline
452 \multicolumn{3}{|c|}{ \BS{}ncdiag[arm=1cm]\AC{->}\AC{A}\AC{B} } \\ \hline
453 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
454 \ncdiag[linestyle=dotted]{A}{B}
455 \ncdiag[arm=1cm]{->}{A}{B}
456 \end{pspicture}
457 &
458 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
459 \ncdiag[linestyle=dotted]{A}{B}
460 \ncdiag[armA=1cm]{->}{A}{B}
461 \end{pspicture}
462 &
463 \begin{pspicture}(0,-.5)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
464 \ncdiag[linestyle=dotted]{A}{B}
465 \ncdiag[armB=1cm]{->}{A}{B}
466 \end{pspicture}
467 \\ \hline
468 \RDD{arm}=1cm \RDI{arm}{pst-node} &
469 \RDD{armA}=1cm \RDI{armA}{pst-node} &
470 \RDD{armB}=1cm \RDI{armB}{pst-node}\\ \hline
471 {\blue \dft{} : 10pt} & {\blue \dft{} : 10pt} & {\blue \dft{} : 10pt} \\ \hline
472 \end{tabular}
473 \bigskip
474
475 %-------------------------------------------------------------------
476 \begin{tabular}{|c|c|c|} \hline
477 \begin{pspicture}(0,-1)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncline[offset=5pt]{->}{A}{B}\ncline[offset=5pt]{->}{B}{A}
478 \end{pspicture}
479 &
480 \begin{pspicture}(0,-1)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncline[offsetA=5pt]{->}{A}{B}\ncline[linestyle=dotted]{A}{B}
481 \end{pspicture}
482 &
483 \begin{pspicture}(0,-1)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B} \ncline[offsetB=5pt]{->}{A}{B}\ncline[linestyle=dotted]{A}{B}
484 \end{pspicture}
485 \\ \hline
486
487 \BS{}ncline[\RDD{offset}=5pt]\AC{->}\AC{A}\AC{B} & \BS{}ncline[\RDD{offsetA}=5pt]\AC{->}\AC{A}\AC{B} & \BS{}ncline[\RDD{offsetB}=5pt]\AC{->}\AC{A}\AC{B} \\
488 \BS{}ncline[{\red offset}=5pt]\AC{->}\AC{B}\AC{A} & \BS{}ncline[linestyle=dotted]\AC{A}\AC{B} & \BS{}ncline[linestyle=dotted]\AC{A}\AC{B}
489 \\ \hline
490 {\blue \dft{} : 0pt } \RDI{offset}{pst-node} & {\blue \dft{} : 0pt} \RDI{offsetA}{pst-node} & {\blue \dft{} : 0pt} \RDI{offsetB}{pst-node}\\ \hline
491 \end{tabular}
492
493 %----------------------------------------------------------------
494 \bigskip
495 \begin{minipage}[c]{.5\linewidth}
496 \begin{tabular}{|c|} \hline
497 \begin{pspicture}(0,-1)(3 ,2) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,-.5){B}
498 \ncloop[linestyle=dotted]{A}{B}
499 \ncloop[loopsize=2cm]{A}{B}
500 \end{pspicture}
501 \\ \hline
502 \BS{ncloop}[\RDD{loopsize}=2cm]\AC{A}\AC{B} \RDI{loopsize}{pst-node} \\ \hline
503 {\blue \dft{} : 1 cm} \\ \hline
504
505 \end{tabular}
506
507 \end{minipage}\hfill
508 \begin{minipage}[c]{.5\linewidth}
509 \begin{tabular}{|c|} \hline
510 \\
511
512 \begin{pspicture}(0,-1)(3 ,.5) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,0){B}
513 \ncarcbox[linestyle=dotted]{A}{B}
514 \ncarcbox[boxsize=.2]{A}{B}
515 \end{pspicture} \\ \hline
516
517 \BS{ncarcbox}[\RDD{boxsize}=.2]\AC{A}\AC{B} \RDI{boxsize}{pst-node} \\ \hline
518 {\blue \dft{}: 0.4cm} \\ \hline
519 {\cyan \TFRGB{seulement pour}{only for} \BS{ncbox} et \BS{ncarcbox} ! }\\ \hline
520 \end{tabular}
521 \end{minipage}
522
523 %-------------------------------------------------------------------
524
525
526 \bigskip
527
528 \begin{tabular}{|c|c|c|}\hline
529 \begin{pspicture}(0,-1)(3 ,2) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,1.5){B}
530 \nccurve[linestyle=dotted]{A}{B}
531 \nccurve[ncurv=1]{->}{A}{B}
532 \end{pspicture}
533 &
534 \begin{pspicture}(0,-1)(3 ,2) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,1.5){B}
535 \nccurve[linestyle=dotted]{A}{B}
536 \nccurve[ncurvA=1]{->}{A}{B}
537
538 \end{pspicture}
539 &
540 \begin{pspicture}(0,-1)(3 ,2) \dotnode[dotstyle=*](1,-.5){A} \dotnode[dotstyle=*](2,1.5){B}
541 \nccurve[linestyle=dotted]{A}{B}
542 \nccurve[ncurvB=1]{->}{A}{B}
543
544 \end{pspicture}
545 \\
546 \hline \BS{}nccurve[\RDD{ncurv}=1]\AC{->}\AC{A}\AC{B} & \BS{}nccurve[\RDD{ncurvA}=1]\AC{->}\AC{A}\AC{B} & \BS{}nccurve[\RDD{ncurvB}=1]\AC{->}\AC{A}\AC{B} \\ \hline
547 {\blue \dft{} : 0.67} \RDI{ncurv}{pst-node} & {\blue \dft{} : 0.67} \RDI{ncurvA}{pst-node} & {\blue \dft{} : 0.67 } \RDI{ncurvB}{pst-node} \\ \hline
548
549 \multicolumn{3}{|c|}{ \cyan \TFRGB{seulement pour}{only for} \BS{nccurve} et \BS{pccurve} ! } \\
550 \hline
551 \end{tabular}
552
553
554 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++
555 \bigskip
556
557
558 \begin{tabular}{|c|c|}
559 \hline
560 \multicolumn{2}{|c|}{ \TFRGB{personnalisation des liaisons}{personalization of the connections}} \\ \hline
561 \begin{pspicture}(0,-.5)(3 ,2.5) \dotnode[dotstyle=*](.5,0){A} \dotnode[dotstyle=*](2,2){B}
562 \ncdiagg[linearc=.3cm,doubleline=true,arrowscale=2]{->}{A}{B}
563 \end{pspicture}
564 &
565 \begin{pspicture}(0,-.5)(3 ,2.5) \dotnode[dotstyle=*](.5,0){A} \dotnode[dotstyle=*](2,2){B}
566 \ncbar[linestyle=dashed,linewidth=3pt,dashcolor=red]{)-[}{A}{B}
567 \end{pspicture}
568 \\ \hline
569 \parbox[b]{6cm}{\BS{}ncdiagg[linearc=.3cm,doubleline=true,
570 arrowscale=2]\AC{->}\AC{A}\AC{B} } &
571 \parbox[b]{6cm}{\BS{}ncbar[linestyle=dashed,linewidth=3pt,
572 dashcolor=red]\AC{)-[}\AC{A}\AC{B} }\\
573 \hline
574 \end{tabular}
575
576
577
578
579 %=======================================================================
580 \SbSSCT{Les étiquettes}{Labels}
581
582
583 \SbSbSSCTTC{Les étiquettes sur les n\oe uds}{Les étiquettes sur les n\oe uds \protect \footnote{fillcolor=yellow,linecolor=blue} }{Labels on the nodes}{ Labels on the nodes \protect \footnote{fillcolor=yellow,linecolor=blue}}
584
585 \psset{fillcolor=yellow}
586 \begin{tabular}{|c| p{3cm}|p{8cm}|} \hline
587 \multicolumn{3}{|c|}{syntaxe : $\backslash$nput*[paramètres]\{position=angle\}\{nom\}\{texte\} } \\
588 \hline
589 \BSS{nput} \BSI{nput}{pst-node}& \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput{0}{A}{texte} & \verb \nput{0}{A}{texte} \\ \hline
590 \BS{nput}* & \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput*{0}{A}{texte} & \verb \nput*{0}{A}{texte} \\ \hline
591 position=angle & \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput*{45}{A}{à 45}\nput*{-45}{A}{à -45} & \verb \nput*{45}{A} \{à 45\}\\ \hline
592 \RDD{labelsep} \RDI{labelsep}{pst-node} & \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput*[labelsep=0.5cm]{0}{A}{texte} & \verb \nput*[labelsep=0.5cm]{0}{A}{texte} \\ \hline
593
594 \RDD{labelsep} \RDI{labelsep}{pst-node} & \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput*[labelsep=-0.1cm]{0}{A}{texte} & \verb \nput*[labelsep=-0.1cm]{0}{A}{texte} \\ \hline
595
596 \RDD{rot} \RDI{rot}{pst-node} & \rule[-1cm]{0pt}{2cm} \cnode(1,0){.2cm}{A} \nput*[rot=45]{0}{A}{rot=45} & \verb \nput*[rot=45]{0}{A}{rot=45} \\ \hline
597 \end{tabular}
598
599
600 \SbSbSSCT{Les étiquettes sur les connexions}{Labels on the connections}
601
602 \psset{shortput=nab,fillcolor=yellow}
603 \begin{tabular}{|p{3cm}| p{3cm}|p{8cm}|} \hline
604 \rput[l](0,1){ncput} \rput[l](0,0.25){nbput} \rput[l](0,1.75){naput} & \begin{pspicture}(0,-1)(3 ,1) \dotnode[dotstyle=*](0,0){A} \dotnode[dotstyle=*](3,0){B} \ncline{->}{A}{B}\naput[npos=.3]{naput} \ncput{ncput} \nbput[npos=.7]{nbput} \end{pspicture} &
605 \rput[l](0,.25){\BS{ncline}\AC{->}\AC{A}\AC{B}\BSS{nbput}[\RDD{npos}{\red =.7}]\AC{nbput} } \BSI{nbput}{pst-node} \RDI{npos}{pst-node}
606 \rput[l](0,1){\BS{ncline}\AC{->}\AC{A}\AC{B}\BSS{ncput}\AC{ncput} } \BSI{ncput}{pst-node}
607 \rput[l](0,1.75){\BS{ncline}\AC{->}\AC{A}\AC{B}\BSS{naput}[{\red npos=.3}]\AC{naput} } \BSI{naput}{pst-node}
608 \\ \hline
609
610
611 \rput[l](0,1){ncput*} \rput[l](0,0.25){nbput*} \rput[l](0,1.75){naput*} & \begin{pspicture}(0,-1)(3 ,1) \dotnode[dotstyle=*](0,0){A} \dotnode[dotstyle=*](3,0){B} \ncline{->}{B}{A}\naput*[npos=.3]{naput*} \ncput*{ncput*} \nbput*[npos=.7]{nbput*} \end{pspicture} & \rput[l](0,.25){\BS{ncline}\AC{->}\AC{B}\AC{A}\BS{nbput}*[npos=.7]\AC{nbput} }
612 \rput[l](0,1){\BS{ncline}\AC{->}\AC{B}\AC{A}\BS{ncput}*\AC{ncput} }
613 \rput[l](0,1.75){\BS{ncline}\AC{->}\AC{B}\AC{A}\BS{naput}*[npos=.3]\AC{naput} }
614 \\ \hline
615
616 \\ \hline
617
618 \rput[l](0,1.5){[\RDD{nrot}=90]} \RDI{nrot}{pst-node} & \begin{pspicture}(0,-1.5)(3 ,1.5) \dotnode[dotstyle=*](1.5,-1.2){A} \dotnode[dotstyle=*](1.5,1.2){B} \ncline{->}{B}{A}\naput*[nrot=90]{naput*} \ncput*[nrot=90]{ncput*} \nbput*[nrot=90]{nbput*} \end{pspicture} &
619
620 \rput[l](0,.5){\BS{ncline}\{->\}\{B\}\{A\}\BS{nbput}*[nrot=90]\AC{nbput} }
621 \rput[l](0,1.5){\BS{ncline}\AC{->}\AC{B}\AC{A}\BS{naput}*[nrot=90]\AC{naput} }
622 \rput[l](0,2.5){\BS{ncline}\AC{->}\AC{B}\AC{A}\BS{naput}*[nrot=90]\AC{naput} }
623 \\ \hline
624
625
626
627 \end{tabular}
628
629