1/* SCCS-info %W% %E% */ 2/* $Id: forms2.vcg,v 1.3 1995/02/08 11:09:19 sander Exp $ */ 3 4 5graph: { 6title: "Formtest2" 7x: 30 8y: 30 9height: 720 10width: 700 11display_edge_labels: yes 12 13node: { title: "A1" 14 loc: { x: 10 y: 10 } 15 label: "This is a box with\ntwo lines of text" 16 color: lightblue 17 bordercolor: red 18 textcolor: lightyellow 19 shape: box 20} 21 22node: { title: "A2" 23 loc: { x: 180 y: 10 } 24 label: "This is\na rhomb with\nthree lines" 25 color: lightblue 26 bordercolor: red 27 textcolor: lightyellow 28 shape: rhomb 29} 30 31node: { title: "A3" 32 loc: { x: 400 y: 10 } 33 label: "This is\na triangle\nwith\nfour lines" 34 color: lightblue 35 bordercolor: red 36 textcolor: lightyellow 37 shape: triangle 38} 39 40node: { title: "A4" 41 loc: { x: 10 y: 130 } 42 label: "This is an ellipse with\ntwo lines" 43 color: lightblue 44 bordercolor: red 45 textcolor: lightyellow 46 shape: ellipse 47} 48 49node: { title: "A5" 50 loc: { x: 280 y: 110 } 51 label: "a circle" 52 width: 90 53 height: 90 54 color: lightblue 55 bordercolor: red 56 textcolor: lightyellow 57 shape: ellipse 58} 59 60node: { title: "A6" 61 loc: { x: 400 y: 160 } 62 label: "A circle is an ellipse\nwhere width=height" 63 borderwidth: 0 64} 65 66 67node.color: pink 68edge.color: red 69edge.arrowcolor: black 70edge.backarrowcolor: pink 71edge.backarrowstyle: solid 72edge.backarrowsize: 10 73 74node: { title: "X1" loc: { x: 10 y: 210 }} 75node: { title: "X2" loc: { x: 40 y: 210 }} 76node: { title: "X3" loc: { x: 70 y: 210 }} 77node: { title: "X4" loc: { x: 100 y: 210 }} 78node: { title: "X5" loc: { x: 130 y: 210 }} 79 80node: { title: "x1" loc: { x: 10 y: 400 }} 81node: { title: "x2" loc: { x: 40 y: 400 }} 82node: { title: "x3" loc: { x: 70 y: 400 }} 83 84edge: { sourcename: "A7" targetname: "X1" } 85edge: { sourcename: "X2" targetname: "A7" } 86edge: { sourcename: "A7" targetname: "X3" } 87edge: { sourcename: "X4" targetname: "A7" } 88edge: { sourcename: "A7" targetname: "X5" } 89 90edge: { sourcename: "A7" targetname: "x1" linestyle: dashed } 91edge: { sourcename: "x2" targetname: "A7" linestyle: dotted } 92edge: { sourcename: "A7" targetname: "x3" } 93 94node: { title: "A7" 95 loc: { x: 10 y: 270 } 96 label: "line 1\nline 2\nline 3" 97 shape: rhomb 98 } 99 100node: { title: "B1" shape: ellipse loc: { x: 120 y: 400 }} 101node: { title: "B2" shape: ellipse loc: { x: 150 y: 400 }} 102node: { title: "B3" shape: ellipse loc: { x: 180 y: 400 }} 103 104edge: { sourcename: "A7" targetname: "B1" anchor: 3 } 105edge: { sourcename: "A7" targetname: "B2" anchor: 2 } 106edge: { sourcename: "A7" targetname: "B3" anchor: 1 } 107 108 109node.color: lightgreen 110edge.color: green 111edge.arrowcolor: black 112edge.backarrowcolor: lightgreen 113edge.backarrowstyle: solid 114edge.backarrowsize: 10 115 116node: { title: "Y1" loc: { x: 200 y: 210 }} 117node: { title: "Y2" loc: { x: 230 y: 210 }} 118node: { title: "Y3" loc: { x: 260 y: 210 }} 119node: { title: "Y4" loc: { x: 290 y: 210 }} 120node: { title: "Y5" loc: { x: 320 y: 210 }} 121 122node: { title: "y1" loc: { x: 220 y: 400 }} 123node: { title: "y2" loc: { x: 250 y: 400 }} 124node: { title: "y3" loc: { x: 280 y: 400 }} 125 126edge: { sourcename: "A8" targetname: "Y1" } 127edge: { sourcename: "Y2" targetname: "A8" } 128edge: { sourcename: "A8" targetname: "Y3" } 129edge: { sourcename: "Y4" targetname: "A8" } 130edge: { sourcename: "A8" targetname: "Y5" } 131 132edge: { sourcename: "A8" targetname: "y1" linestyle: dashed } 133edge: { sourcename: "y2" targetname: "A8" linestyle: dotted } 134edge: { sourcename: "A8" targetname: "y3" } 135 136node: { title: "A8" 137 loc: { x: 200 y: 260 } 138 label: "line 1\nline 2\nline 3" 139 shape: triangle 140 } 141 142node: { title: "C1" shape: rhomb loc: { x: 310 y: 400 }} 143node: { title: "C2" shape: rhomb loc: { x: 340 y: 400 }} 144node: { title: "C3" shape: rhomb loc: { x: 370 y: 400 }} 145 146edge: { sourcename: "A8" targetname: "C1" anchor: 3 } 147edge: { sourcename: "A8" targetname: "C2" anchor: 2 } 148edge: { sourcename: "A8" targetname: "C3" anchor: 1 } 149 150 151node.color: yellow 152edge.color: darkyellow 153edge.arrowcolor: black 154edge.backarrowcolor: yellow 155edge.backarrowstyle: solid 156edge.backarrowsize: 10 157 158 159node: { title: "Z1" loc: { x: 400 y: 210 }} 160node: { title: "Z2" loc: { x: 430 y: 210 }} 161node: { title: "Z3" loc: { x: 460 y: 210 }} 162node: { title: "Z4" loc: { x: 490 y: 210 }} 163 164node: { title: "z1" loc: { x: 420 y: 400 }} 165node: { title: "z2" loc: { x: 450 y: 400 }} 166node: { title: "z3" loc: { x: 480 y: 400 }} 167 168edge: { sourcename: "A9" targetname: "Z1" } 169edge: { sourcename: "Z2" targetname: "A9" } 170edge: { sourcename: "A9" targetname: "Z3" } 171edge: { sourcename: "Z4" targetname: "A9" } 172 173edge: { sourcename: "A9" targetname: "z1" linestyle: dashed } 174edge: { sourcename: "z2" targetname: "A9" linestyle: dotted } 175edge: { sourcename: "A9" targetname: "z3" } 176 177node: { title: "A9" 178 loc: { x: 400 y: 270 } 179 label: "line 1\nline 2\nline 3" 180 shape: ellipse 181 } 182 183node: { title: "D1" shape: triangle loc: { x: 510 y: 400 }} 184node: { title: "D2" shape: triangle loc: { x: 540 y: 400 }} 185node: { title: "D3" shape: triangle loc: { x: 570 y: 400 }} 186 187edge: { sourcename: "A9" targetname: "D1" anchor: 3 } 188edge: { sourcename: "A9" targetname: "D2" anchor: 2 } 189edge: { sourcename: "A9" targetname: "D3" anchor: 1 } 190 191 192 193node: { title: "A10" 194 loc: { x: 10 y: 440 } 195 label: "left justified\ntext..........." 196 textmode: left_justify 197 width: 200 198 stretch: 2 199 shrink: 3 200 borderwidth: 4 201 color: aquamarine 202 shape: ellipse 203 } 204 205node: { title: "A11" 206 loc: { x: 10 y: 500 } 207 label: "centered\ntext..........." 208 textmode: center 209 width: 200 210 stretch: 2 211 shrink: 3 212 borderwidth: 4 213 color: aquamarine 214 shape: ellipse 215 } 216node: { title: "A12" 217 loc: { x: 10 y: 560 } 218 label: "right justified\ntext..........." 219 textmode: right_justify 220 width: 200 221 stretch: 2 222 shrink: 3 223 borderwidth: 4 224 color: aquamarine 225 shape: ellipse 226 } 227 228edge.arrowcolor: blue 229edge.backarrowstyle: none 230edge.backarrowsize: 0 231 232edge: { sourcename: "A10" 233 targetname: "A11" 234 label: "an invisible edge" 235 color: blue // nonsense 236 linestyle: invisible } 237edge: { sourcename: "A11" 238 targetname: "A12" 239 label: "an invisible edge" 240 color: blue // nonsense 241 linestyle: invisible } 242 243node.color: white 244 245node: { title: "A13" 246 loc: { x: 360 y: 460 } 247 width: 230 248 height: 130 249 label: "These ellipses are connected\nby invisible edge.\nBut you can't see them." 250 borderwidth: 0 251 } 252 253edge.arrowcolor: red 254 255edge: { sourcename: "A13" 256 targetname: "A10" 257 color: red 258 thickness: 5 259 } 260edge: { sourcename: "A13" 261 targetname: "A11" 262 color: red 263 thickness: 5 264 } 265edge: { sourcename: "A13" 266 targetname: "A12" 267 color: red 268 thickness: 5 269 } 270 271} 272 273