doc/images/nodeshape_2.eps
changeset 154 f4e4dbc1d467
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/images/nodeshape_2.eps	Mon Apr 28 11:12:33 2008 +0100
     1.3 @@ -0,0 +1,57 @@
     1.4 +%!PS-Adobe-2.0 EPSF-2.0
     1.5 +%%Title: LEMON GraphToEps figure
     1.6 +%%Creator: LEMON GraphToEps function
     1.7 +%%BoundingBox: 0 0 200 200
     1.8 +%%EndComments
     1.9 +/lb { setlinewidth setrgbcolor newpath moveto
    1.10 +      4 2 roll 1 index 1 index curveto stroke } bind def
    1.11 +/l { setlinewidth setrgbcolor newpath moveto lineto stroke } bind def
    1.12 +/c { newpath dup 3 index add 2 index moveto 0 360 arc closepath } bind def
    1.13 +/sq { newpath 2 index 1 index add 2 index 2 index add moveto
    1.14 +      2 index 1 index sub 2 index 2 index add lineto
    1.15 +      2 index 1 index sub 2 index 2 index sub lineto
    1.16 +      2 index 1 index add 2 index 2 index sub lineto
    1.17 +      closepath pop pop pop} bind def
    1.18 +/di { newpath 2 index 1 index add 2 index moveto
    1.19 +      2 index             2 index 2 index add lineto
    1.20 +      2 index 1 index sub 2 index             lineto
    1.21 +      2 index             2 index 2 index sub lineto
    1.22 +      closepath pop pop pop} bind def
    1.23 +/nc { 0 0 0 setrgbcolor 5 index 5 index 5 index c fill
    1.24 +     setrgbcolor 1.1 div c fill
    1.25 +   } bind def
    1.26 +/nsq { 0 0 0 setrgbcolor 5 index 5 index 5 index sq fill
    1.27 +     setrgbcolor 1.1 div sq fill
    1.28 +   } bind def
    1.29 +/ndi { 0 0 0 setrgbcolor 5 index 5 index 5 index di fill
    1.30 +     setrgbcolor 1.1 div di fill
    1.31 +   } bind def
    1.32 +/arrl 1 def
    1.33 +/arrw 0.3 def
    1.34 +/lrl { 2 index mul exch 2 index mul exch rlineto pop} bind def
    1.35 +/arr { setrgbcolor /y1 exch def /x1 exch def /dy exch def /dx exch def
    1.36 +       /w exch def /len exch def
    1.37 +       newpath x1 dy w 2 div mul add y1 dx w 2 div mul sub moveto
    1.38 +       len w sub arrl sub dx dy lrl
    1.39 +       arrw dy dx neg lrl
    1.40 +       dx arrl w add mul dy w 2 div arrw add mul sub
    1.41 +       dy arrl w add mul dx w 2 div arrw add mul add rlineto
    1.42 +       dx arrl w add mul neg dy w 2 div arrw add mul sub
    1.43 +       dy arrl w add mul neg dx w 2 div arrw add mul add rlineto
    1.44 +       arrw dy dx neg lrl
    1.45 +       len w sub arrl sub neg dx dy lrl
    1.46 +       closepath fill } bind def
    1.47 +/cshow { 2 index 2 index moveto dup stringwidth pop
    1.48 +         neg 2 div fosi .35 mul neg rmoveto show pop pop} def
    1.49 +
    1.50 +gsave
    1.51 +100 dup scale
    1.52 +%Edges:
    1.53 +gsave
    1.54 +grestore
    1.55 +%Nodes:
    1.56 +gsave
    1.57 +1 1 1 0.2 1 0.2 ndi
    1.58 +grestore
    1.59 +grestore
    1.60 +showpage