-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWebgraphviz.html
586 lines (548 loc) · 23.4 KB
/
Webgraphviz.html
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
<!DOCTYPE HTML>
<HTML>
<HEAD>
<META content="IE=edge" http-equiv="X-UA-Compatible">
<TITLE>Webgraphviz</TITLE>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<link rel="stylesheet" href="./css/shkwak.css" type="text/css" />
<script language="JavaScript" type="text/javascript" src="./js/eventemitter2.js"></script>
<script language="JavaScript" type="text/javascript" src="./js/roslib.js"></script>
<script language="JavaScript" type="text/javascript" src="./js/shkwak.js"></script>
<script language="JavaScript" type="text/javascript">
var ShowHide_status = false;
function dotgraphName(graphName)
{
var data1 = document.getElementById("dotgraph_data1").value;
var data2 = document.getElementById("dotgraph_data1").value;
if (data1 == "" || data2 == "")
{
alert('GetData 버튼을 먼저 눌러 주세요.');
}
else
{
document.all.dotgraphName.value = graphName;
selectedIndexInit();
document.all.graphviz_svg_div.style.display = 'block';
document.all.real_dotgraph_data.style.display = 'none';
}
}
function selectedIndexInit()
{
document.getElementById('SvgScale').selectedIndex = 0; //3; //100%
}
function GetdotgraphData()
{
/*--Connect--*/
ConnectROS();
/*--Get Data--*/
Get_gateway_dotgraph();
Get_conductor_dotgraph();
}
</script>
<STYLE>
BUTTON
{
CURSOR:pointer;
FONT-SIZE:70%;
FONT-FAMILY:arial;
MARGIN:4px 5px 4px 0px;
}
</STYLE>
</HEAD>
<BODY onload="">
<div style="font-size:24px; color:#6699cc;">dotgraph Data Visualizer
<span style="font-size:12px;">master_URL</span><span id="gitUserRepo" style="font-size:12px; color:; display:none;">
<input type="text" id="master_URL" value="ws://192.168.0.137:9090" style="width:150px; font-size:12px;" spellcheck="false">
</span>
<input type="image" src="./img/settings-1.png" onclick="ShowHide('URL');" style="vertical-align:middle;" title="URL 입력창이 나타납니다."/>
<input type="button" onclick="View_dotgraph('real')" value="Real dotgraph" class="button"/>
<input type="button" onclick="View_dotgraph('sample')" value="Sample dotgraph" class="button"/>
<select id="SvgScale">
<!-- <option value="2.0">200%</option>
<option value="1.5">150%</option>
<option value="1.25">125%</option> -->
<option value="1.0" selected>100%</option>
<option value="0.75">75%</option>
<option value="0.5">50%</option>
<option value="0.25">25%</option>
</select>
<input type="button" onclick="ChangeSvgScale(document.getElementById('SvgScale').value);" value="ChangeScale" style="" class="button" title=""/>
</div>
<hr><br>
<div id="Sample_dotgraph" style="display:none;">
<!-- <A href="http://www.graphviz.org/"> -->
Enter your dotgraph data into the Text Area:
<br>
<BUTTON disabled id="sample_0_btn">Sample 0</BUTTON>
<BUTTON disabled id="sample_1_btn">Sample 1</BUTTON>
<BUTTON disabled id="sample_2_btn">Sample 2</BUTTON>
<BUTTON disabled id="sample_3_btn">Sample 3</BUTTON>
<BUTTON disabled id="sample_4_btn">Sample 4</BUTTON>
<BUTTON disabled id="sample_5_btn">Sample 5</BUTTON> <BR>
<textarea id="graphviz_data" wrap=on style="width:100%;" rows="6" spellcheck="false">
digraph graphname {
graph [rankdir=LR, rank=same];
node [label="\N"];
graph [bb="0,0,370,252"];
concert_conductor [label=concert_conductor, URL=concert_conductor, shape=ellipse, pos="101,126", width="2.8056", height="0.51389"];
dude1 [label=dude1, URL=dude1, shape=ellipse, pos="320,234", width="1.1389", height="0.51389"];
dudette [label=dudette, URL=dudette, shape=ellipse, pos="320,180", width="1.3889", height="0.51389"];
kobuki [label=kobuki, URL=kobuki, shape=ellipse, pos="320,126", width="1.2222", height="0.51389"];
dude [label=dude, URL=dude, shape=ellipse, pos="320,72", width="0.97222", height="0.51389"];
guimul [label=guimul, URL=guimul, shape=ellipse, pos="320,18", width="1.2222", height="0.51389"];
concert_conductor -> dude1 [label=local, pos="e,292.4,220.39 135.7,143.11 175.98,162.98 242.13,195.6 283.26,215.88", lp="236,208"];
concert_conductor -> dudette [label=local, pos="e,278.72,169.82 160.26,140.61 194.25,148.99 236.47,159.4 268.97,167.42", lp="236,171"];
concert_conductor -> kobuki [label=local, pos="e,275.87,126 202.17,126 224.11,126 246.51,126 265.8,126", lp="236,135"];
concert_conductor -> dude [label=local, pos="e,287.81,79.938 160.26,111.39 197.46,102.22 244.53,90.61 277.91,82.378", lp="236,104"];
concert_conductor -> guimul [label=local, pos="e,291.53,31.905 135.09,109.05 158.87,97.231 191.35,81.12 220,67 240.62,56.836 263.66,45.543 282.42,36.361", lp="236,76"];
}
</textarea>
<BUTTON disabled id="generate_btn" style="FONT-SIZE:120%" class="button_large" onclick="selectedIndexInit();"><B>Loading...</B> </BUTTON>
</div>
<div id="Real_dotgraph" style="">
Click the button want to see the dotgraph:
<input type="button" onclick="GetdotgraphData();" value="GetData" style="" class="button" title="dotgraph Data를 가져옵니다."/>
<input type="text" id="dotgraphName" value="" readonly style="width:120px; color:#6699cc;" spellcheck="false">
<br>
<BUTTON id="generate_btn1" style="FONT-SIZE:120%" class="button_large" onclick="dotgraphName('gateway_dotgraph')">gateway_dotgraph</BUTTON>
<BUTTON id="generate_btn2" style="FONT-SIZE:120%" class="button_large" onclick="dotgraphName('conductor_dotgraph')">conductor_dotgraph</BUTTON>
<BUTTON id="ViewSource_dotgraph" style="FONT-SIZE:120%" class="button_large" onclick="ViewSource('dotgraph');">View source</BUTTON>
<br>
<span id="real_dotgraph_data" style="display:none;">
<select id="real_dotgraph_select" onchange="ViewSource('dotgraph');">
<option >gateway_dotgraph</option>
<option >conductor_dotgraph</option>
</select>
<textarea id="dotgraph_data1" style="width:100%;" rows="20" spellcheck="false"></textarea>
<textarea id="dotgraph_data2" style="width:100%;" rows="20" spellcheck="false"></textarea>
</span>
</div>
<!-- Target for dynamic svg generation -->
<div id="graphviz_svg_div" style=""></div>
<p></p>
<div>Other Page Link<br>
<span style="font-size:12px;">
이동하고자 하는 페이지 버튼을 클릭하면 해당 페이지로 이동합니다.<br>
<input type="button" onclick="javascript:top.document.getElementById('subframe').src='NewSolution.html', top.document.getElementById('BreadcrumbTitle').innerHTML='Solution Manager', top.document.getElementById('pageTitle').innerHTML='Solution Configuration Manager';" value="Solution Manager" class="button2"/>
<input type="button" onclick="javascript:top.document.getElementById('subframe').src='Webgraphviz.html', top.document.getElementById('BreadcrumbTitle').innerHTML='Data Visualizer', top.document.getElementById('pageTitle').innerHTML='Data Visualizer';" value="Data Visualizer" class="button2"/>
<input type="button" onclick="javascript:top.document.getElementById('subframe').src='Scheduler.html', top.document.getElementById('BreadcrumbTitle').innerHTML='Service Scheduler', top.document.getElementById('pageTitle').innerHTML='Service Scheduler';" value="Service Scheduler" class="button2"/>
<input type="button" onclick="javascript:top.document.getElementById('subframe').src='TemplateEdit.html', top.document.getElementById('BreadcrumbTitle').innerHTML='Template Editor', top.document.getElementById('pageTitle').innerHTML='Template Editor';" value="Template Editor" class="button2"/>
<br>
</span>
</div><br>
<script>
/*-- ROSBridge --*/
var ros = "";
//var graph_timer = "";
function ConnectROS()
{
var master_URL = document.getElementById('master_URL').value; //'ws://192.168.0.98:9090'; //
// Connecting to ROS
// -----------------
ros = new ROSLIB.Ros();
// If there is an error on the backend, an 'error' emit will be emitted.
ros.on('error', function(error) {
console.log(error);
alert("WebSocket connection to \'" + master_URL + "\' failed : Connection closed before receiving a handshake response."); //Error Message
});
// Find out exactly when we made a connection.
ros.on('connection', function() {
console.log('Connection made!');
document.all.dotgraphName.value = "Connection made!";
});
// Create a connection to the rosbridge WebSocket server.
// master_URL
ros.connect(master_URL); //'ws://192.168.0.98:9090'); //98
}
// // Publishing a Topic
// // ------------------
//
// // First, we create a Topic object with details of the topic's name and message type.
// var cmdVel = new ROSLIB.Topic({
// ros : ros,
// name : '/cmd_vel',
// messageType : 'geometry_msgs/Twist'
// });
//
// // Then we create the payload to be published. The object we pass in to ros.Message matches the
// // fields defined in the geometry_msgs/Twist.msg definition.
// var twist = new ROSLIB.Message({
// linear : {
// x : 0.1,
// y : 0.2,
// z : 0.3
// },
// angular : {
// x : -0.1,
// y : -0.2,
// z : -0.3
// }
// });
//
// // And finally, publish.
// cmdVel.publish(twist);
//Subscribing to a Topic
//----------------------
function Get_gateway_dotgraph()
{
var gateway_dotgraph = new ROSLIB.Topic({
ros : ros,
name : '/concert/gateway/dotgraph',
messageType : 'std_msgs/String'
});
gateway_dotgraph.subscribe(function(message) {
console.log('Received message on ' + gateway_dotgraph.name + ': ' + message.data);
document.getElementById("dotgraph_data1").value = message.data;
gateway_dotgraph.unsubscribe();
});
}
function Get_conductor_dotgraph()
{
var conductor_dotgraph = new ROSLIB.Topic({
ros : ros,
name : '/concert/conductor/concert_clients_dotgraph',
messageType : 'std_msgs/String'
});
conductor_dotgraph.subscribe(function(message) {
console.log('Received message on ' + conductor_dotgraph.name + ': ' + message.data);
document.getElementById("dotgraph_data2").value = message.data;
conductor_dotgraph.unsubscribe();
});
}
</script>
<!-- Defer loading of javascript by placing these tags at the tail end of the document -->
<SCRIPT language="javascript" type="text/javascript" src="./js/jquery.min.js"></SCRIPT>
<SCRIPT language="javascript" type="text/javascript" src="./js/viz.js"></SCRIPT>
<SCRIPT language="javascript" type="text/javascript" src="./js/site.js"></SCRIPT>
<!------------------------------------------------------------------>
<!------------------------- SAMPLE CODE ---------------------------->
<!------------------------------------------------------------------>
<SCRIPT id="sample0_text" type=bogus>
digraph G {
"Welcome" -> "To"
"To" -> "Web"
"To" -> "GraphViz!"
}
</SCRIPT>
<!------------------------------------------------------------------>
<SCRIPT id="sample1_text" type=bogus>
digraph G {
subgraph cluster_0 {
style=filled;
color=lightgrey;
node [style=filled,color=white];
a0 -> a1 -> a2 -> a3;
label = "process #1";
}
subgraph cluster_1 {
node [style=filled];
b0 -> b1 -> b2 -> b3;
label = "process #2";
color=blue
}
start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> a0;
a3 -> end;
b3 -> end;
start [shape=Mdiamond];
end [shape=Msquare];
}
</SCRIPT>
<!------------------------------------------------------------------>
<SCRIPT id="sample2_text" type=bogus>
digraph "unix" {
graph [ fontname = "Helvetica-Oblique",
fontsize = 36,
label = "",
size = "12,12" ];
node [ shape = polygon,
sides = 4,
distortion = "0.0",
orientation = "0.0",
skew = "0.0",
color = white,
style = filled,
fontname = "Helvetica-Outline" ];
"5th Edition" [sides=9, distortion="0.936354", orientation=28, skew="-0.126818", color=salmon2];
"6th Edition" [sides=5, distortion="0.238792", orientation=11, skew="0.995935", color=deepskyblue];
"PWB 1.0" [sides=8, distortion="0.019636", orientation=79, skew="-0.440424", color=goldenrod2];
LSX [sides=9, distortion="-0.698271", orientation=22, skew="-0.195492", color=burlywood2];
"1 BSD" [sides=7, distortion="0.265084", orientation=26, skew="0.403659", color=gold1];
"Mini Unix" [distortion="0.039386", orientation=2, skew="-0.461120", color=greenyellow];
Wollongong [sides=5, distortion="0.228564", orientation=63, skew="-0.062846", color=darkseagreen];
Interdata [distortion="0.624013", orientation=56, skew="0.101396", color=dodgerblue1];
"Unix/TS 3.0" [sides=8, distortion="0.731383", orientation=43, skew="-0.824612", color=thistle2];
"PWB 2.0" [sides=6, distortion="0.592100", orientation=34, skew="-0.719269", color=darkolivegreen3];
"7th Edition" [sides=10, distortion="0.298417", orientation=65, skew="0.310367", color=chocolate];
"8th Edition" [distortion="-0.997093", orientation=50, skew="-0.061117", color=turquoise3];
"32V" [sides=7, distortion="0.878516", orientation=19, skew="0.592905", color=steelblue3];
V7M [sides=10, distortion="-0.960249", orientation=32, skew="0.460424", color=navy];
"Ultrix-11" [sides=10, distortion="-0.633186", orientation=10, skew="0.333125", color=darkseagreen4];
Xenix [sides=8, distortion="-0.337997", orientation=52, skew="-0.760726", color=coral];
"UniPlus+" [sides=7, distortion="0.788483", orientation=39, skew="-0.526284", color=darkolivegreen3];
"9th Edition" [sides=7, distortion="0.138690", orientation=55, skew="0.554049", color=coral3];
"2 BSD" [sides=7, distortion="-0.010661", orientation=84, skew="0.179249", color=blanchedalmond];
"2.8 BSD" [distortion="-0.239422", orientation=44, skew="0.053841", color=lightskyblue1];
"2.9 BSD" [distortion="-0.843381", orientation=70, skew="-0.601395", color=aquamarine2];
"3 BSD" [sides=10, distortion="0.251820", orientation=18, skew="-0.530618", color=lemonchiffon];
"4 BSD" [sides=5, distortion="-0.772300", orientation=24, skew="-0.028475", color=darkorange1];
"4.1 BSD" [distortion="-0.226170", orientation=38, skew="0.504053", color=lightyellow1];
"4.2 BSD" [sides=10, distortion="-0.807349", orientation=50, skew="-0.908842", color=darkorchid4];
"4.3 BSD" [sides=10, distortion="-0.030619", orientation=76, skew="0.985021", color=lemonchiffon2];
"Ultrix-32" [distortion="-0.644209", orientation=21, skew="0.307836", color=goldenrod3];
"PWB 1.2" [sides=7, distortion="0.640971", orientation=84, skew="-0.768455", color=cyan];
"USG 1.0" [distortion="0.758942", orientation=42, skew="0.039886", color=blue];
"CB Unix 1" [sides=9, distortion="-0.348692", orientation=42, skew="0.767058", color=firebrick];
"USG 2.0" [distortion="0.748625", orientation=74, skew="-0.647656", color=chartreuse4];
"CB Unix 2" [sides=10, distortion="0.851818", orientation=32, skew="-0.020120", color=greenyellow];
"CB Unix 3" [sides=10, distortion="0.992237", orientation=29, skew="0.256102", color=bisque4];
"Unix/TS++" [sides=6, distortion="0.545461", orientation=16, skew="0.313589", color=mistyrose2];
"PDP-11 Sys V" [sides=9, distortion="-0.267769", orientation=40, skew="0.271226", color=cadetblue1];
"USG 3.0" [distortion="-0.848455", orientation=44, skew="0.267152", color=bisque2];
"Unix/TS 1.0" [distortion="0.305594", orientation=75, skew="0.070516", color=orangered];
"TS 4.0" [sides=10, distortion="-0.641701", orientation=50, skew="-0.952502", color=crimson];
"System V.0" [sides=9, distortion="0.021556", orientation=26, skew="-0.729938", color=darkorange1];
"System V.2" [sides=6, distortion="0.985153", orientation=33, skew="-0.399752", color=darkolivegreen4];
"System V.3" [sides=7, distortion="-0.687574", orientation=58, skew="-0.180116", color=lightsteelblue1];
"5th Edition" -> "6th Edition";
"5th Edition" -> "PWB 1.0";
"6th Edition" -> LSX;
"6th Edition" -> "1 BSD";
"6th Edition" -> "Mini Unix";
"6th Edition" -> Wollongong;
"6th Edition" -> Interdata;
Interdata -> "Unix/TS 3.0";
Interdata -> "PWB 2.0";
Interdata -> "7th Edition";
"7th Edition" -> "8th Edition";
"7th Edition" -> "32V";
"7th Edition" -> V7M;
"7th Edition" -> "Ultrix-11";
"7th Edition" -> Xenix;
"7th Edition" -> "UniPlus+";
V7M -> "Ultrix-11";
"8th Edition" -> "9th Edition";
"1 BSD" -> "2 BSD";
"2 BSD" -> "2.8 BSD";
"2.8 BSD" -> "Ultrix-11";
"2.8 BSD" -> "2.9 BSD";
"32V" -> "3 BSD";
"3 BSD" -> "4 BSD";
"4 BSD" -> "4.1 BSD";
"4.1 BSD" -> "4.2 BSD";
"4.1 BSD" -> "2.8 BSD";
"4.1 BSD" -> "8th Edition";
"4.2 BSD" -> "4.3 BSD";
"4.2 BSD" -> "Ultrix-32";
"PWB 1.0" -> "PWB 1.2";
"PWB 1.0" -> "USG 1.0";
"PWB 1.2" -> "PWB 2.0";
"USG 1.0" -> "CB Unix 1";
"USG 1.0" -> "USG 2.0";
"CB Unix 1" -> "CB Unix 2";
"CB Unix 2" -> "CB Unix 3";
"CB Unix 3" -> "Unix/TS++";
"CB Unix 3" -> "PDP-11 Sys V";
"USG 2.0" -> "USG 3.0";
"USG 3.0" -> "Unix/TS 3.0";
"PWB 2.0" -> "Unix/TS 3.0";
"Unix/TS 1.0" -> "Unix/TS 3.0";
"Unix/TS 3.0" -> "TS 4.0";
"Unix/TS++" -> "TS 4.0";
"CB Unix 3" -> "TS 4.0";
"TS 4.0" -> "System V.0";
"System V.0" -> "System V.2";
"System V.2" -> "System V.3";
}
</SCRIPT>
<!------------------------------------------------------------------>
<SCRIPT id="sample3_text" type=bogus>
digraph prof {
ratio = fill;
node [style=filled];
start -> main [color="0.002 0.999 0.999"];
start -> on_exit [color="0.649 0.701 0.701"];
main -> sort [color="0.348 0.839 0.839"];
main -> merge [color="0.515 0.762 0.762"];
main -> term [color="0.647 0.702 0.702"];
main -> signal [color="0.650 0.700 0.700"];
main -> sbrk [color="0.650 0.700 0.700"];
main -> unlink [color="0.650 0.700 0.700"];
main -> newfile [color="0.650 0.700 0.700"];
main -> fclose [color="0.650 0.700 0.700"];
main -> close [color="0.650 0.700 0.700"];
main -> brk [color="0.650 0.700 0.700"];
main -> setbuf [color="0.650 0.700 0.700"];
main -> copyproto [color="0.650 0.700 0.700"];
main -> initree [color="0.650 0.700 0.700"];
main -> safeoutfil [color="0.650 0.700 0.700"];
main -> getpid [color="0.650 0.700 0.700"];
main -> sprintf [color="0.650 0.700 0.700"];
main -> creat [color="0.650 0.700 0.700"];
main -> rem [color="0.650 0.700 0.700"];
main -> oldfile [color="0.650 0.700 0.700"];
sort -> msort [color="0.619 0.714 0.714"];
sort -> filbuf [color="0.650 0.700 0.700"];
sort -> newfile [color="0.650 0.700 0.700"];
sort -> fclose [color="0.650 0.700 0.700"];
sort -> setbuf [color="0.650 0.700 0.700"];
sort -> setfil [color="0.650 0.700 0.700"];
msort -> qsort [color="0.650 0.700 0.700"];
msort -> insert [color="0.650 0.700 0.700"];
msort -> wline [color="0.650 0.700 0.700"];
msort -> div [color="0.650 0.700 0.700"];
msort -> cmpsave [color="0.650 0.700 0.700"];
merge -> insert [color="0.650 0.700 0.700"];
merge -> rline [color="0.650 0.700 0.700"];
merge -> wline [color="0.650 0.700 0.700"];
merge -> unlink [color="0.650 0.700 0.700"];
merge -> fopen [color="0.650 0.700 0.700"];
merge -> fclose [color="0.650 0.700 0.700"];
merge -> setfil [color="0.650 0.700 0.700"];
merge -> mul [color="0.650 0.700 0.700"];
merge -> setbuf [color="0.650 0.700 0.700"];
merge -> cmpsave [color="0.650 0.700 0.700"];
insert -> cmpa [color="0.650 0.700 0.700"];
wline -> flsbuf [color="0.649 0.700 0.700"];
qsort -> cmpa [color="0.650 0.700 0.700"];
rline -> filbuf [color="0.649 0.700 0.700"];
xflsbuf -> write [color="0.650 0.700 0.700"];
flsbuf -> xflsbuf [color="0.649 0.700 0.700"];
filbuf -> read [color="0.650 0.700 0.700"];
term -> unlink [color="0.650 0.700 0.700"];
term -> signal [color="0.650 0.700 0.700"];
term -> setfil [color="0.650 0.700 0.700"];
term -> exit [color="0.650 0.700 0.700"];
endopen -> open [color="0.650 0.700 0.700"];
fopen -> endopen [color="0.639 0.705 0.705"];
fopen -> findiop [color="0.650 0.700 0.700"];
newfile -> fopen [color="0.634 0.707 0.707"];
newfile -> setfil [color="0.650 0.700 0.700"];
fclose -> fflush [color="0.642 0.704 0.704"];
fclose -> close [color="0.650 0.700 0.700"];
fflush -> xflsbuf [color="0.635 0.707 0.707"];
malloc -> morecore [color="0.325 0.850 0.850"];
malloc -> demote [color="0.650 0.700 0.700"];
morecore -> sbrk [color="0.650 0.700 0.700"];
morecore -> getfreehdr [color="0.650 0.700 0.700"];
morecore -> free [color="0.650 0.700 0.700"];
morecore -> getpagesize [color="0.650 0.700 0.700"];
morecore -> putfreehdr [color="0.650 0.700 0.700"];
morecore -> udiv [color="0.650 0.700 0.700"];
morecore -> umul [color="0.650 0.700 0.700"];
on_exit -> malloc [color="0.325 0.850 0.850"];
signal -> sigvec [color="0.650 0.700 0.700"];
moncontrol -> profil [color="0.650 0.700 0.700"];
getfreehdr -> sbrk [color="0.650 0.700 0.700"];
free -> insert [color="0.650 0.700 0.700"];
insert -> getfreehdr [color="0.650 0.700 0.700"];
setfil -> div [color="0.650 0.700 0.700"];
setfil -> rem [color="0.650 0.700 0.700"];
sigvec -> sigblock [color="0.650 0.700 0.700"];
sigvec -> sigsetmask [color="0.650 0.700 0.700"];
doprnt -> urem [color="0.650 0.700 0.700"];
doprnt -> udiv [color="0.650 0.700 0.700"];
doprnt -> strlen [color="0.650 0.700 0.700"];
doprnt -> localeconv [color="0.650 0.700 0.700"];
sprintf -> doprnt [color="0.650 0.700 0.700"];
cmpa [color="0.000 1.000 1.000"];
wline [color="0.201 0.753 1.000"];
insert [color="0.305 0.625 1.000"];
rline [color="0.355 0.563 1.000"];
sort [color="0.408 0.498 1.000"];
qsort [color="0.449 0.447 1.000"];
write [color="0.499 0.386 1.000"];
read [color="0.578 0.289 1.000"];
msort [color="0.590 0.273 1.000"];
merge [color="0.603 0.258 1.000"];
unlink [color="0.628 0.227 1.000"];
filbuf [color="0.641 0.212 1.000"];
open [color="0.641 0.212 1.000"];
sbrk [color="0.647 0.204 1.000"];
signal [color="0.647 0.204 1.000"];
moncontrol [color="0.647 0.204 1.000"];
xflsbuf [color="0.650 0.200 1.000"];
flsbuf [color="0.650 0.200 1.000"];
div [color="0.650 0.200 1.000"];
cmpsave [color="0.650 0.200 1.000"];
rem [color="0.650 0.200 1.000"];
setfil [color="0.650 0.200 1.000"];
close [color="0.650 0.200 1.000"];
fclose [color="0.650 0.200 1.000"];
fflush [color="0.650 0.200 1.000"];
setbuf [color="0.650 0.200 1.000"];
endopen [color="0.650 0.200 1.000"];
findiop [color="0.650 0.200 1.000"];
fopen [color="0.650 0.200 1.000"];
mul [color="0.650 0.200 1.000"];
newfile [color="0.650 0.200 1.000"];
sigblock [color="0.650 0.200 1.000"];
sigsetmask [color="0.650 0.200 1.000"];
sigvec [color="0.650 0.200 1.000"];
udiv [color="0.650 0.200 1.000"];
urem [color="0.650 0.200 1.000"];
brk [color="0.650 0.200 1.000"];
getfreehdr [color="0.650 0.200 1.000"];
strlen [color="0.650 0.200 1.000"];
umul [color="0.650 0.200 1.000"];
doprnt [color="0.650 0.200 1.000"];
copyproto [color="0.650 0.200 1.000"];
creat [color="0.650 0.200 1.000"];
demote [color="0.650 0.200 1.000"];
exit [color="0.650 0.200 1.000"];
free [color="0.650 0.200 1.000"];
getpagesize [color="0.650 0.200 1.000"];
getpid [color="0.650 0.200 1.000"];
initree [color="0.650 0.200 1.000"];
insert [color="0.650 0.200 1.000"];
localeconv [color="0.650 0.200 1.000"];
main [color="0.650 0.200 1.000"];
malloc [color="0.650 0.200 1.000"];
morecore [color="0.650 0.200 1.000"];
oldfile [color="0.650 0.200 1.000"];
on_exit [color="0.650 0.200 1.000"];
profil [color="0.650 0.200 1.000"];
putfreehdr [color="0.650 0.200 1.000"];
safeoutfil [color="0.650 0.200 1.000"];
sprintf [color="0.650 0.200 1.000"];
term [color="0.650 0.200 1.000"];
}
</SCRIPT>
<!------------------------------------------------------------------>
<SCRIPT id="sample4_text" type=bogus>
digraph finite_state_machine {
rankdir=LR;
size="8,5"
node [shape = doublecircle]; LR_0 LR_3 LR_4 LR_8;
node [shape = circle];
LR_0 -> LR_2 [ label = "SS(B)" ];
LR_0 -> LR_1 [ label = "SS(S)" ];
LR_1 -> LR_3 [ label = "S($end)" ];
LR_2 -> LR_6 [ label = "SS(b)" ];
LR_2 -> LR_5 [ label = "SS(a)" ];
LR_2 -> LR_4 [ label = "S(A)" ];
LR_5 -> LR_7 [ label = "S(b)" ];
LR_5 -> LR_5 [ label = "S(a)" ];
LR_6 -> LR_6 [ label = "S(b)" ];
LR_6 -> LR_5 [ label = "S(a)" ];
LR_7 -> LR_8 [ label = "S(b)" ];
LR_7 -> LR_5 [ label = "S(a)" ];
LR_8 -> LR_6 [ label = "S(b)" ];
LR_8 -> LR_5 [ label = "S(a)" ];
}
</SCRIPT>
<!------------------------------------------------------------------>
<SCRIPT id="sample5_text" type=bogus>
digraph g{
rankdir=LR;
"webgraphviz" -> "@" -> "gmail" -> "." -> "com"
}
</SCRIPT>
</BODY>
</HTML>