File: forms2.vcg

package info (click to toggle)
vcg 1.30debian-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,704 kB
  • ctags: 8,207
  • sloc: ansic: 56,888; csh: 11,206; yacc: 3,636; lex: 1,830; sh: 1,097; makefile: 529
file content (272 lines) | stat: -rw-r--r-- 6,475 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/* SCCS-info %W% %E% */
/* $Id: forms2.vcg,v 1.3 1995/02/08 11:09:19 sander Exp $ */


graph: { 
title: "Formtest2"
x: 30
y: 30
height: 720
width: 700
display_edge_labels: yes

node: { title: "A1" 
	loc: { x: 10 y: 10 } 
	label: "This is a box with\ntwo lines of text" 
	color: lightblue
	bordercolor: red 
	textcolor: lightyellow
	shape: box
}

node: { title: "A2" 
	loc: { x: 180 y: 10 } 
	label: "This is\na rhomb with\nthree lines" 
	color: lightblue
	bordercolor: red
	textcolor: lightyellow
	shape: rhomb 
}

node: { title: "A3" 
	loc: { x: 400 y: 10 } 
	label: "This is\na triangle\nwith\nfour lines" 
	color: lightblue
	bordercolor: red
	textcolor: lightyellow
	shape: triangle 
}

node: { title: "A4" 
	loc: { x: 10 y: 130 } 
	label: "This is an ellipse with\ntwo lines" 
	color: lightblue
	bordercolor: red
	textcolor: lightyellow
	shape: ellipse 
}

node: { title: "A5" 
	loc: { x: 280 y: 110 } 
	label: "a circle" 
	width: 90
	height: 90
	color: lightblue
	bordercolor: red
	textcolor: lightyellow
	shape: ellipse 
}

node: { title: "A6" 
	loc: { x: 400 y: 160 } 
	label: "A circle is an ellipse\nwhere width=height" 
	borderwidth: 0
}


node.color: pink
edge.color: red
edge.arrowcolor: black  
edge.backarrowcolor: pink  
edge.backarrowstyle: solid  
edge.backarrowsize:  10  

node: { title: "X1" loc: { x: 10 y: 210 }}
node: { title: "X2" loc: { x: 40 y: 210 }}
node: { title: "X3" loc: { x: 70 y: 210 }}
node: { title: "X4" loc: { x: 100 y: 210 }}
node: { title: "X5" loc: { x: 130 y: 210 }}

node: { title: "x1" loc: { x: 10 y: 400 }}
node: { title: "x2" loc: { x: 40 y: 400 }}
node: { title: "x3" loc: { x: 70 y: 400 }}

edge: { sourcename: "A7" targetname: "X1" }
edge: { sourcename: "X2" targetname: "A7" }
edge: { sourcename: "A7" targetname: "X3" }
edge: { sourcename: "X4" targetname: "A7" }
edge: { sourcename: "A7" targetname: "X5" }

edge: { sourcename: "A7" targetname: "x1" linestyle: dashed }
edge: { sourcename: "x2" targetname: "A7" linestyle: dotted }
edge: { sourcename: "A7" targetname: "x3" }

node: { title: "A7"
	loc: { x: 10 y: 270 }
	label: "line 1\nline 2\nline 3"
	shape: rhomb
      }

node: { title: "B1" shape: ellipse loc: { x: 120 y: 400 }}
node: { title: "B2" shape: ellipse loc: { x: 150 y: 400 }}
node: { title: "B3" shape: ellipse loc: { x: 180 y: 400 }}

edge: { sourcename: "A7" targetname: "B1" anchor: 3 }
edge: { sourcename: "A7" targetname: "B2" anchor: 2 }
edge: { sourcename: "A7" targetname: "B3" anchor: 1 }


node.color: lightgreen 
edge.color: green
edge.arrowcolor: black  
edge.backarrowcolor: lightgreen  
edge.backarrowstyle: solid  
edge.backarrowsize:  10  

node: { title: "Y1" loc: { x: 200 y: 210 }}
node: { title: "Y2" loc: { x: 230 y: 210 }}
node: { title: "Y3" loc: { x: 260 y: 210 }}
node: { title: "Y4" loc: { x: 290 y: 210 }}
node: { title: "Y5" loc: { x: 320 y: 210 }}

node: { title: "y1" loc: { x: 220 y: 400 }}
node: { title: "y2" loc: { x: 250 y: 400 }}
node: { title: "y3" loc: { x: 280 y: 400 }}

edge: { sourcename: "A8" targetname: "Y1" }
edge: { sourcename: "Y2" targetname: "A8" }
edge: { sourcename: "A8" targetname: "Y3" }
edge: { sourcename: "Y4" targetname: "A8" }
edge: { sourcename: "A8" targetname: "Y5" }

edge: { sourcename: "A8" targetname: "y1" linestyle: dashed }
edge: { sourcename: "y2" targetname: "A8" linestyle: dotted }
edge: { sourcename: "A8" targetname: "y3" }

node: { title: "A8"
	loc: { x: 200 y: 260 }
	label: "line 1\nline 2\nline 3"
	shape: triangle 
      }

node: { title: "C1" shape: rhomb loc: { x: 310 y: 400 }}
node: { title: "C2" shape: rhomb loc: { x: 340 y: 400 }}
node: { title: "C3" shape: rhomb loc: { x: 370 y: 400 }}

edge: { sourcename: "A8" targetname: "C1" anchor: 3 }
edge: { sourcename: "A8" targetname: "C2" anchor: 2 }
edge: { sourcename: "A8" targetname: "C3" anchor: 1 }


node.color: yellow 
edge.color: darkyellow 
edge.arrowcolor: black  
edge.backarrowcolor: yellow  
edge.backarrowstyle: solid  
edge.backarrowsize:  10  


node: { title: "Z1" loc: { x: 400 y: 210 }}
node: { title: "Z2" loc: { x: 430 y: 210 }}
node: { title: "Z3" loc: { x: 460 y: 210 }}
node: { title: "Z4" loc: { x: 490 y: 210 }}

node: { title: "z1" loc: { x: 420 y: 400 }}
node: { title: "z2" loc: { x: 450 y: 400 }}
node: { title: "z3" loc: { x: 480 y: 400 }}

edge: { sourcename: "A9" targetname: "Z1" }
edge: { sourcename: "Z2" targetname: "A9" }
edge: { sourcename: "A9" targetname: "Z3" }
edge: { sourcename: "Z4" targetname: "A9" }

edge: { sourcename: "A9" targetname: "z1" linestyle: dashed }
edge: { sourcename: "z2" targetname: "A9" linestyle: dotted }
edge: { sourcename: "A9" targetname: "z3" }

node: { title: "A9"
	loc: { x: 400 y: 270 }
	label: "line 1\nline 2\nline 3"
	shape: ellipse 
      }

node: { title: "D1" shape: triangle loc: { x: 510 y: 400 }}
node: { title: "D2" shape: triangle loc: { x: 540 y: 400 }}
node: { title: "D3" shape: triangle loc: { x: 570 y: 400 }}

edge: { sourcename: "A9" targetname: "D1" anchor: 3 }
edge: { sourcename: "A9" targetname: "D2" anchor: 2 }
edge: { sourcename: "A9" targetname: "D3" anchor: 1 }



node: { title: "A10"
	loc: { x: 10 y: 440 }
	label: "left justified\ntext..........."
	textmode: left_justify	
	width: 200
	stretch: 2
	shrink:  3
	borderwidth: 4
	color: aquamarine
	shape: ellipse 
      }

node: { title: "A11"
	loc: { x: 10 y: 500 }
	label: "centered\ntext..........."
	textmode: center
	width: 200
	stretch: 2
	shrink:  3
	borderwidth: 4
	color: aquamarine
	shape: ellipse 
      }
node: { title: "A12"
	loc: { x: 10 y: 560 }
	label: "right justified\ntext..........."
	textmode: right_justify	
	width: 200
	stretch: 2
	shrink:  3
	borderwidth: 4
	color: aquamarine
	shape: ellipse 
      }

edge.arrowcolor: blue
edge.backarrowstyle: none  
edge.backarrowsize:  0  

edge: { sourcename: "A10" 
	targetname: "A11" 
	label: "an invisible edge"
	color: blue // nonsense
	linestyle: invisible }
edge: { sourcename: "A11" 
	targetname: "A12" 
	label: "an invisible edge"
	color: blue // nonsense
	linestyle: invisible }

node.color: white 

node: { title: "A13"
	loc: { x: 360 y: 460 }
	width:  230
	height: 130
	label: "These ellipses are connected\nby invisible edge.\nBut you can't see them."
	borderwidth: 0
      }

edge.arrowcolor: red 

edge: { sourcename: "A13"
	targetname: "A10"
	color: red
	thickness: 5
      }
edge: { sourcename: "A13"
	targetname: "A11"
	color: red
	thickness: 5
      }
edge: { sourcename: "A13"
	targetname: "A12"
	color: red
	thickness: 5
      }
	
}