Debian Codegraph @

src/gen/lib/fdpgen/layout__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.fdpgen;
47 import static smetana.core.JUtilsDebug.ENTERING;
48 import static smetana.core.JUtilsDebug.LEAVING;
49 import static smetana.core.Macro.UNSUPPORTED;
50 import h.ST_pointf;
51 import smetana.core.jmp_buf;
52
53 public class layout__c {
54 //1 2digov3edok6d5srhgtlmrycs
55 // extern lt_symlist_t lt_preloaded_symbols[]
56
57
58 //1 baedz5i9est5csw3epz3cv7z
59 // typedef Ppoly_t Ppolyline_t
60
61
62 //1 9k44uhd5foylaeoekf3llonjq
63 // extern Dtmethod_t* Dtset
64
65
66 //1 1ahfywsmzcpcig2oxm7pt9ihj
67 // extern Dtmethod_t* Dtbag
68
69
70 //1 anhghfj3k7dmkudy2n7rvt31v
71 // extern Dtmethod_t* Dtoset
72
73
74 //1 5l6oj1ux946zjwvir94ykejbc
75 // extern Dtmethod_t* Dtobag
76
77
78 //1 2wtf222ak6cui8cfjnw6w377z
79 // extern Dtmethod_t* Dtlist
80
81
82 //1 d1s1s6ibtcsmst88e3057u9r7
83 // extern Dtmethod_t* Dtstack
84
85
86 //1 axa7mflo824p6fspjn1rdk0mt
87 // extern Dtmethod_t* Dtqueue
88
89
90 //1 ega812utobm4xx9oa9w9ayij6
91 // extern Dtmethod_t* Dtdeque
92
93
94 //1 cyfr996ur43045jv1tjbelzmj
95 // extern Dtmethod_t* Dtorder
96
97
98 //1 wlofoiftbjgrrabzb2brkycg
99 // extern Dtmethod_t* Dttree
100
101
102 //1 12bds94t7voj7ulwpcvgf6agr
103 // extern Dtmethod_t* Dthash
104
105
106 //1 9lqknzty480cy7zsubmabkk8h
107 // extern Dtmethod_t _Dttree
108
109
110 //1 bvn6zkbcp8vjdhkccqo1xrkrb
111 // extern Dtmethod_t _Dthash
112
113
114 //1 9lidhtd6nsmmv3e7vjv9e10gw
115 // extern Dtmethod_t _Dtlist
116
117
118 //1 34ujfamjxo7xn89u90oh2k6f8
119 // extern Dtmethod_t _Dtqueue
120
121
122 //1 3jy4aceckzkdv950h89p4wjc8
123 // extern Dtmethod_t _Dtstack
124
125
126 //1 8dfqgf3u1v830qzcjqh9o8ha7
127 // extern Agmemdisc_t AgMemDisc
128
129
130 //1 18k2oh2t6llfsdc5x0wlcnby8
131 // extern Agiddisc_t AgIdDisc
132
133
134 //1 a4r7hi80gdxtsv4hdoqpyiivn
135 // extern Agiodisc_t AgIoDisc
136
137
138 //1 bnzt5syjb7mgeru19114vd6xx
139 // extern Agdisc_t AgDefaultDisc
140
141
142 //1 35y2gbegsdjilegaribes00mg
143 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
144
145
146 //1 c2rygslq6bcuka3awmvy2b3ow
147 // typedef Agsubnode_t Agnoderef_t
148
149
150 //1 xam6yv0dcsx57dtg44igpbzn
151 // typedef Dtlink_t Agedgeref_t
152
153
154 //1 nye6dsi1twkbddwo9iffca1j
155 // extern char *Version
156
157
158 //1 65mu6k7h7lb7bx14jpiw7iyxr
159 // extern char **Files
160
161
162 //1 2rpjdzsdyrvomf00zcs3u3dyn
163 // extern const char **Lib
164
165
166 //1 6d2f111lntd2rsdt4gswh5909
167 // extern char *CmdName
168
169
170 //1 a0ltq04fpeg83soa05a2fkwb2
171 // extern char *specificFlags
172
173
174 //1 1uv30qeqq2jh6uznlr4dziv0y
175 // extern char *specificItems
176
177
178 //1 7i4hkvngxe3x7lmg5h6b3t9g3
179 // extern char *Gvfilepath
180
181
182 //1 9jp96pa73kseya3w6sulxzok6
183 // extern char *Gvimagepath
184
185
186 //1 40ylumfu7mrvawwf4v2asvtwk
187 // extern unsigned char Verbose
188
189
190 //1 93st8awjy1z0h07n28qycbaka
191 // extern unsigned char Reduce
192
193
194 //1 f2vs67ts992erf8onwfglurzp
195 // extern int MemTest
196
197
198 //1 c6f8whijgjwwagjigmxlwz3gb
199 // extern char *HTTPServerEnVar
200
201
202 //1 cp4hzj7p87m7arw776d3bt7aj
203 // extern char *Output_file_name
204
205
206 //1 a3rqagofsgraie6mx0krzkgsy
207 // extern int graphviz_errors
208
209
210 //1 5up05203r4kxvjn1m4njcgq5x
211 // extern int Nop
212
213
214 //1 umig46cco431x14b3kosde2t
215 // extern double PSinputscale
216
217
218 //1 52bj6v8fqz39khasobljfukk9
219 // extern int Syntax_errors
220
221
222 //1 9ekf2ina8fsjj6y6i0an6somj
223 // extern int Show_cnt
224
225
226 //1 38di5qi3nkxkq65onyvconk3r
227 // extern char** Show_boxes
228
229
230 //1 6ri6iu712m8mpc7t2670etpcw
231 // extern int CL_type
232
233
234 //1 bomxiw3gy0cgd1ydqtek7fpxr
235 // extern unsigned char Concentrate
236
237
238 //1 cqy3gqgcq8empdrbnrhn84058
239 // extern double Epsilon
240
241
242 //1 64slegfoouqeg0rmbyjrm8wgr
243 // extern int MaxIter
244
245
246 //1 88wdinpnmfs4mab4aw62yb0bg
247 // extern int Ndim
248
249
250 //1 8bbad3ogcelqnnvo5br5s05gq
251 // extern int State
252
253
254 //1 17rnd8q45zclfn68qqst2vxxn
255 // extern int EdgeLabelsDone
256
257
258 //1 ymx1z4s8cznjifl2d9f9m8jr
259 // extern double Initial_dist
260
261
262 //1 a33bgl0c3uqb3trx419qulj1x
263 // extern double Damping
264
265
266 //1 d9lvrpjg1r0ojv40pod1xwk8n
267 // extern int Y_invert
268
269
270 //1 71efkfs77q5tq9ex6y0f4kanh
271 // extern int GvExitOnUsage
272
273
274 //1 4xy2dkdkv0acs2ue9eca8hh2e
275 // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin
276
277
278 //1 9js5gxgzr74eakgtfhnbws3t9
279 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle
280
281
282 //1 anqllp9sj7wo45w6bm11j8trn
283 // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth
284
285
286 //1 bh0z9puipqw7gymjd5h5b8s6i
287 // extern struct fdpParms_s* fdp_parms
288
289
290
291
292 //3 ciez0pfggxdljedzsbklq49f0
293 // static inline point pointof(int x, int y)
294 public static Object pointof(Object... arg) {
295 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
296 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
297 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
298 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
299 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
300 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
301 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
302
303 throw new UnsupportedOperationException();
304 }
305
306
307
308
309 //3 c1s4k85p1cdfn176o3uryeros
310 // static inline pointf pointfof(double x, double y)
311 public static ST_pointf pointfof(double x, double y) {
312 // WARNING!! STRUCT
313 return pointfof_w_(x, y).copy();
314 }
315 private static ST_pointf pointfof_w_(double x, double y) {
316 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
317 try {
318 final ST_pointf r = new ST_pointf();
319 r.setDouble("x", x);
320 r.setDouble("y", y);
321 return r;
322 } finally {
323 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
324 }
325 }
326
327
328
329
330 //3 7cufnfitrh935ew093mw0i4b7
331 // static inline box boxof(int llx, int lly, int urx, int ury)
332 public static Object boxof(Object... arg) {
333 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
334 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
335 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
336 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
337 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
338 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
339 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
340
341 throw new UnsupportedOperationException();
342 }
343
344
345
346
347
348
349
350 //3 1n5xl70wxuabyf97mclvilsm6
351 // static inline point add_point(point p, point q)
352 public static Object add_point(Object... arg) {
353 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
354 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
355 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
356 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
357 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
358 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
359 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
360
361 throw new UnsupportedOperationException();
362 }
363
364
365
366
367 //3 arrsbik9b5tnfcbzsm8gr2chx
368 // static inline pointf add_pointf(pointf p, pointf q)
369 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
370 // WARNING!! STRUCT
371 return add_pointf_w_(p.copy(), q.copy()).copy();
372 }
373 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
374 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
375 try {
376 final ST_pointf r = new ST_pointf();
377 r.setDouble("x", p.x + q.x);
378 r.setDouble("y", p.y + q.y);
379 return r;
380 } finally {
381 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
382 }
383 }
384
385
386
387
388 //3 ai2dprak5y6obdsflguh5qbd7
389 // static inline point sub_point(point p, point q)
390 public static Object sub_point(Object... arg) {
391 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
392 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
393 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
394 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
395 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
396 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
397 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
398
399 throw new UnsupportedOperationException();
400 }
401
402
403
404
405 //3 16f6pyogcv3j7n2p0n8giqqgh
406 // static inline pointf sub_pointf(pointf p, pointf q)
407 public static Object sub_pointf(Object... arg) {
408 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
409 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
410 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
411 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
412 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
413 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
414 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
415
416 throw new UnsupportedOperationException();
417 }
418
419
420
421
422 //3 9k50jgrhc4f9824vf8ony74rw
423 // static inline point mid_point(point p, point q)
424 public static Object mid_point(Object... arg) {
425 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
426 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
427 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
428 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
429 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
430 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
431 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
432
433 throw new UnsupportedOperationException();
434 }
435
436
437
438
439 //3 59c4f7im0ftyowhnzzq2v9o1x
440 // static inline pointf mid_pointf(pointf p, pointf q)
441 public static Object mid_pointf(Object... arg) {
442 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
443 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
444 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
445 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
446 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
447 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
448 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
449
450 throw new UnsupportedOperationException();
451 }
452
453
454
455
456 //3 5r18p38gisvcx3zsvbb9saixx
457 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
458 public static Object interpolate_pointf(Object... arg) {
459 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
460 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
461 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
462 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
463 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
464 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
465 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
466
467 throw new UnsupportedOperationException();
468 }
469
470
471
472
473 //3 bxzrv2ghq04qk5cbyy68s4mol
474 // static inline point exch_xy(point p)
475 public static Object exch_xy(Object... arg) {
476 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
477 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
478 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
479 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
480 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
481 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
482 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
483
484 throw new UnsupportedOperationException();
485 }
486
487
488
489
490 //3 9lt3e03tac6h6sydljrcws8fd
491 // static inline pointf exch_xyf(pointf p)
492 public static Object exch_xyf(Object... arg) {
493 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
494 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
495 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
496 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
497 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
498 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
499 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
500
501 throw new UnsupportedOperationException();
502 }
503
504
505
506
507 //3 8l9qhieokthntzdorlu5zn29b
508 // static inline box box_bb(box b0, box b1)
509 public static Object box_bb(Object... arg) {
510 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
511 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
512 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
513 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
514 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
515 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
516 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
517 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
518 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
519
520 throw new UnsupportedOperationException();
521 }
522
523
524
525
526 //3 clws9h3bbjm0lw3hexf8nl4c4
527 // static inline boxf boxf_bb(boxf b0, boxf b1)
528 public static Object boxf_bb(Object... arg) {
529 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
530 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
531 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
532 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
533 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
534 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
535 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
536 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
537 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
538
539 throw new UnsupportedOperationException();
540 }
541
542
543
544
545 //3 bit6ycxo1iqd2al92y8gkzlvb
546 // static inline box box_intersect(box b0, box b1)
547 public static Object box_intersect(Object... arg) {
548 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
549 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
550 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
551 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
552 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
553 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
554 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
555 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
556 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
557
558 throw new UnsupportedOperationException();
559 }
560
561
562
563
564 //3 8gfybie7k6pgb3o1a6llgpwng
565 // static inline boxf boxf_intersect(boxf b0, boxf b1)
566 public static Object boxf_intersect(Object... arg) {
567 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
568 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
569 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
570 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
571 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
572 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
573 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
574 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
575 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
576
577 throw new UnsupportedOperationException();
578 }
579
580
581
582
583 //3 7z8j2quq65govaaejrz7b4cvb
584 // static inline int box_overlap(box b0, box b1)
585 public static Object box_overlap(Object... arg) {
586 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
587 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
588 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
589 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
590
591 throw new UnsupportedOperationException();
592 }
593
594
595
596
597 //3 4z0suuut2acsay5m8mg9dqjdu
598 // static inline int boxf_overlap(boxf b0, boxf b1)
599 public static Object boxf_overlap(Object... arg) {
600 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
601 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
602 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
603 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
604
605 throw new UnsupportedOperationException();
606 }
607
608
609
610
611 //3 dd34swz5rmdgu3a2np2a4h1dy
612 // static inline int box_contains(box b0, box b1)
613 public static Object box_contains(Object... arg) {
614 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
615 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
616 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
617 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
618
619 throw new UnsupportedOperationException();
620 }
621
622
623
624
625 //3 8laj1bspbu2i1cjd9upr7xt32
626 // static inline int boxf_contains(boxf b0, boxf b1)
627 public static Object boxf_contains(Object... arg) {
628 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
629 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
630 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
631 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
632
633 throw new UnsupportedOperationException();
634 }
635
636
637
638
639 //3 4wf5swkz24xx51ja2dynbycu1
640 // static inline pointf perp (pointf p)
641 public static Object perp(Object... arg) {
642 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
643 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
644 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
645 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
646 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
647 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
648 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
649
650 throw new UnsupportedOperationException();
651 }
652
653
654
655
656 //3 6dtlpzv4mvgzb9o0b252yweuv
657 // static inline pointf scale (double c, pointf p)
658 public static Object scale(Object... arg) {
659 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
660 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
661 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
662 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
663 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
664 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
665 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
666
667 throw new UnsupportedOperationException();
668 }
669
670
671 //1 exy2l03ceq9zw4vf01bbd4d3o
672 // typedef unsigned int packval_t
673
674
675 //1 540u5gu9i0x1wzoxqqx5n2vwp
676 // static jmp_buf jbuf
677 private static jmp_buf jbuf = new jmp_buf();
678
679
680
681 //3 cyfvrx8rigx5zgh4a4b53zpnh
682 // static void finalCC(graph_t * g, int c_cnt, graph_t ** cc, point * pts, graph_t * rg, layout_info* infop)
683 public static Object finalCC(Object... arg) {
684 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
685 UNSUPPORTED("5j5ejv8p34k05gcm75fmh1xhf"); // finalCC(graph_t * g, int c_cnt, graph_t ** cc, point * pts, graph_t * rg,
686 UNSUPPORTED("4pqsw04lulyzrk7rq7bblsonr"); // layout_info* infop)
687 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
688 UNSUPPORTED("9b4o90u710skovvrp9jqdgitp"); // attrsym_t * G_width = infop->G_width;
689 UNSUPPORTED("bqvw4kmde2f4oa4oi0h9hydsn"); // attrsym_t * G_height = infop->G_height;
690 UNSUPPORTED("e75aepnaqkzqf68ewt7a4zqfi"); // graph_t *cg;
691 UNSUPPORTED("a78eza87s0b98d5urftsa25st"); // box b, bb;
692 UNSUPPORTED("8l1eldlly6rdv04k0fzzkmb68"); // boxf bbf;
693 UNSUPPORTED("tkw5izt69wl0695g5qfi9sug"); // point pt;
694 UNSUPPORTED("15vcjwivk85sj24txzc1mf1gj"); // int margin;
695 UNSUPPORTED("uxzh5927shath4hsa8qeq0vg"); // graph_t **cp = cc;
696 UNSUPPORTED("dgxbjvgw9qxehkxtda1tet15c"); // point *pp = pts;
697 UNSUPPORTED("93l4pivvf6nscv0y64nax0dq7"); // int isRoot = (rg == infop->rootg);
698 UNSUPPORTED("tv1kheyodc68lbqkk90hbfrp"); // int isEmpty = 0;
699 UNSUPPORTED("ebsljzk06lfmoo5yrjxixc0op"); // /* compute graph bounding box in points */
700 UNSUPPORTED("as51hq9p7apf0yper42ncmv5d"); // if (c_cnt) {
701 UNSUPPORTED("hdi48v81u3904xw6mr33ncuu"); // cg = *cp++;
702 UNSUPPORTED("doqnyqj8oanwl6cloo1nprp6f"); // BF2B(GD_bb(cg), bb);
703 UNSUPPORTED("5aaxht3vfvg8txbt3utwmslrp"); // if (c_cnt > 1) {
704 UNSUPPORTED("9t8rt3bdzsa84ucezrmt14ub6"); // pt = *pp++;
705 UNSUPPORTED("d4he392l7lu60f0c3cfgxrxdc"); // bb.LL.x += pt.x;
706 UNSUPPORTED("4depz3wycfkln7j4l5xklhc9u"); // bb.LL.y += pt.y;
707 UNSUPPORTED("4107b6l6fs0ipw7clehsluvj7"); // bb.UR.x += pt.x;
708 UNSUPPORTED("89fikk6obhaq1qqenedqkj3ee"); // bb.UR.y += pt.y;
709 UNSUPPORTED("3yuvbcdyw38sj04mc19gsblta"); // while ((cg = *cp++)) {
710 UNSUPPORTED("5pgtu6u0dsae0m5olw147upw7"); // BF2B(GD_bb(cg), b);
711 UNSUPPORTED("sk2e9ft63ktyi9torljewy1d"); // pt = *pp++;
712 UNSUPPORTED("exwmgih14x6egeiqtbdao9oig"); // b.LL.x += pt.x;
713 UNSUPPORTED("6s65g13bf25olokd3e9mkk2r0"); // b.LL.y += pt.y;
714 UNSUPPORTED("b947zhl0549npzprxodym6pnv"); // b.UR.x += pt.x;
715 UNSUPPORTED("egzsssfx1cuziklqf0gbha0pg"); // b.UR.y += pt.y;
716 UNSUPPORTED("8tx35iz0n5i30gl1aoykewx2a"); // bb.LL.x = MIN(bb.LL.x, b.LL.x);
717 UNSUPPORTED("1y9hace0nolseswt8ndb04qzp"); // bb.LL.y = MIN(bb.LL.y, b.LL.y);
718 UNSUPPORTED("448anewcsr42vjlqt7bu41gml"); // bb.UR.x = MAX(bb.UR.x, b.UR.x);
719 UNSUPPORTED("8186gsf6v091wiyyfl50wo3pz"); // bb.UR.y = MAX(bb.UR.y, b.UR.y);
720 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
721 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
722 UNSUPPORTED("et2gdc4td9f7dgpy4vi5nubcj"); // } else { /* empty graph */
723 UNSUPPORTED("1usofyibgze1w58108ljx8vlk"); // bb.LL.x = 0;
724 UNSUPPORTED("2x25hiswosyet6n52bfoj0bgb"); // bb.LL.y = 0;
725 UNSUPPORTED("8odqguy5gqxsc924fzt8tugyj"); // bb.UR.x = late_int(rg, G_width, (ROUND((0.75)*72)), 3);
726 UNSUPPORTED("1bcc9n645fsrh3v9qouu2mnnt"); // bb.UR.y = late_int(rg, G_height, (ROUND((0.5)*72)), 3);
727 UNSUPPORTED("oy1o6qaafscd06oaah6skuq8"); // isEmpty = 1;
728 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
729 UNSUPPORTED("8bafmwpwdcr8mxkd0349uwj8n"); // if (GD_label(rg)) {
730 UNSUPPORTED("2g3x5xo2qnpun7vilpctpknlc"); // point p;
731 UNSUPPORTED("bo6u5udaa5jm0by3gh04omxwd"); // int d;
732 UNSUPPORTED("dmkzb0rxnfsoon56m8o6st0o1"); // isEmpty = 0;
733 UNSUPPORTED("7fm4t6vqmkowryalb4olpluvi"); // PF2P(GD_label(rg)->dimen, p);
734 UNSUPPORTED("60137a9c14v715u0roc06c7f0"); // d = p.x - (bb.UR.x - bb.LL.x);
735 UNSUPPORTED("ut9vmlliumj6hoam9erca50j"); // if (d > 0) { /* height of label added below */
736 UNSUPPORTED("dzc85pslju1xdcidb5xsgd63n"); // d /= 2;
737 UNSUPPORTED("5lr6tdfl85phpnr2cjc94rmfk"); // bb.LL.x -= d;
738 UNSUPPORTED("eiysf7bb0jo4knxnnsptfd17o"); // bb.UR.x += d;
739 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
740 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
741 UNSUPPORTED("dds8500ykadjn0z2mcnznhjfg"); // if (isRoot || isEmpty)
742 UNSUPPORTED("8tm7x791luf0uq7v2q53kfuqk"); // margin = 0;
743 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
744 UNSUPPORTED("182pb9igel0aoytgtoiguek4x"); // margin = late_int (g, G_margin, 8, 0);
745 UNSUPPORTED("dwo09u5p3lixrxqu485pwy6r7"); // pt.x = -bb.LL.x + margin;
746 UNSUPPORTED("3tyf1d65hn5e7kko770etaay1"); // pt.y = -bb.LL.y + margin + GD_border(rg)[0].y;
747 UNSUPPORTED("dze4vn5sf7tdouljozbaukja6"); // bb.LL.x = 0;
748 UNSUPPORTED("5zsax7rqaxnemqxnwgiyn72ga"); // bb.LL.y = 0;
749 UNSUPPORTED("c4rw2sm67jiequg14myrfct0h"); // bb.UR.x += pt.x + margin;
750 UNSUPPORTED("e61322oo73i9nj7nipw8m2zv"); // bb.UR.y += pt.y + margin + GD_border(rg)[2].y;
751 UNSUPPORTED("7tzvnafah7jf93mzxqs95rwrr"); // /* translate nodes */
752 UNSUPPORTED("as51hq9p7apf0yper42ncmv5d"); // if (c_cnt) {
753 UNSUPPORTED("egz9kmr1h0lairr84fdl6xyb4"); // cp = cc;
754 UNSUPPORTED("1vvyrx201r2ig8es037wn2mfh"); // pp = pts;
755 UNSUPPORTED("c5isnr2v3wtcqtcbjku7pygr1"); // while ((cg = *cp++)) {
756 UNSUPPORTED("8hzx2qlxefkohtl8vzpf4yzof"); // point p;
757 UNSUPPORTED("d55u571q0xu2m8hidf7qm4i0h"); // node_t *n;
758 UNSUPPORTED("ej168lfnr08xgzgaf1gsii95s"); // pointf del;
759 UNSUPPORTED("2u09xj9tpivs6e840bfjna2zc"); // if (pp) {
760 UNSUPPORTED("1rmxuvgazhdv7nv3q5deh14ci"); // p = *pp++;
761 UNSUPPORTED("7w2yxcg7syqzmsu21h1rdu7gv"); // p.x += pt.x;
762 UNSUPPORTED("ct8eacmyhxwe4itxmq5ksle6c"); // p.y += pt.y;
763 UNSUPPORTED("175pyfe8j8mbhdwvrbx3gmew9"); // } else {
764 UNSUPPORTED("q29o1awbh8ddg8k9cz591mwc"); // p = pt;
765 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
766 UNSUPPORTED("9wya7e1n1v02ba29i88qevv7d"); // del.x = ((p.x)/(double)72);
767 UNSUPPORTED("2r2n5gssapyxktpmw0tiaplpt"); // del.y = ((p.y)/(double)72);
768 UNSUPPORTED("bhlsqxfst7yx1df4cylgi92p6"); // for (n = agfstnode(cg); n; n = agnxtnode(cg, n)) {
769 UNSUPPORTED("7ljco3d2d5dh0dhrs9qoqvvia"); // ND_pos(n)[0] += del.x;
770 UNSUPPORTED("41qrgy6u1jqqw1qpjqg4c6657"); // ND_pos(n)[1] += del.y;
771 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
772 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
773 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
774 UNSUPPORTED("exoex2j0qrw664qhzf4cxauq1"); // bbf.LL.x = ((bb.LL.x)/(double)72);
775 UNSUPPORTED("7yprpz6bhlv15uimyl9x7mwyf"); // bbf.LL.y = ((bb.LL.y)/(double)72);
776 UNSUPPORTED("42ps8exnijgn7j0xn3omzdsbp"); // bbf.UR.x = ((bb.UR.x)/(double)72);
777 UNSUPPORTED("2kied7iqt4m348v7idvxdzrfr"); // bbf.UR.y = ((bb.UR.y)/(double)72);
778 UNSUPPORTED("4bavz003b6k3610qxalof3nls"); // (((gdata*)(GD_alg(g)))->bb) = bbf;
779 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
780
781 throw new UnsupportedOperationException();
782 }
783
784
785
786
787 //3 byskndejdx3u2hdwh3qbm4apq
788 // static node_t *mkDeriveNode(graph_t * dg, char *name)
789 public static Object mkDeriveNode(Object... arg) {
790 UNSUPPORTED("74hp673smot0qq6e71pnny6um"); // static node_t *mkDeriveNode(graph_t * dg, char *name)
791 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
792 UNSUPPORTED("cuxjodqo53rx3gt9t353c352r"); // node_t *dn;
793 UNSUPPORTED("9rsk130zxprz1jr0i0wnjspka"); // dn = agnode(dg, name,1);
794 UNSUPPORTED("2pahd30hmnc5ga3juber1p8rc"); // agbindrec(dn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), NOT(0)); //node custom data
795 UNSUPPORTED("2pbxy8q5lnf7p7rgcaw6q8wky"); // ND_alg(dn) = (void *) (dndata*)zmalloc(sizeof(dndata)); /* free in freeDeriveNode */
796 UNSUPPORTED("at012b854w3r2woadh9tov0wf"); // ND_pos(dn) = (double*)gmalloc((GD_ndim(dg))*sizeof(double));
797 UNSUPPORTED("39wajg9uefc99hzbtsfg9trto"); // /* fprintf (stderr, "Creating %s\n", dn->name); */
798 UNSUPPORTED("7h1byav4bse2wj5qnw2q1myd4"); // return dn;
799 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
800
801 throw new UnsupportedOperationException();
802 }
803
804
805
806
807 //3 3iz2r401jxiz372cjszyuoanq
808 // static void freeDeriveNode(node_t * n)
809 public static Object freeDeriveNode(Object... arg) {
810 UNSUPPORTED("1whqjlpv0n0dca6sq85o9cdae"); // static void freeDeriveNode(node_t * n)
811 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
812 UNSUPPORTED("5074s0w7ptt9jifu6hn9mei67"); // free(ND_alg(n));
813 UNSUPPORTED("dblzkmbbygvj7xygvxtoq8tio"); // free(ND_pos(n));
814 UNSUPPORTED("akue26s9c0sd4k550tyw3sk5n"); // agdelrec(n, "Agnodeinfo_t");
815 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
816
817 throw new UnsupportedOperationException();
818 }
819
820
821
822
823 //3 29x3224gy6v4xzpd3raiirugf
824 // static void freeGData(graph_t * g)
825 public static Object freeGData(Object... arg) {
826 UNSUPPORTED("4qayy728oj2bq4zy8lej3fsth"); // static void freeGData(graph_t * g)
827 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
828 UNSUPPORTED("n2gf06weiher7ar8g5amqip1"); // free(GD_alg(g));
829 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
830
831 throw new UnsupportedOperationException();
832 }
833
834
835
836
837 //3 cf633ztfyd6ttfwuav4giyi76
838 // static void freeDerivedGraph(graph_t * g, graph_t ** cc)
839 public static Object freeDerivedGraph(Object... arg) {
840 UNSUPPORTED("cgyg74gyxx6sheskknx21gz3l"); // static void freeDerivedGraph(graph_t * g, graph_t ** cc)
841 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
842 UNSUPPORTED("e75aepnaqkzqf68ewt7a4zqfi"); // graph_t *cg;
843 UNSUPPORTED("cuxjodqo53rx3gt9t353c352r"); // node_t *dn;
844 UNSUPPORTED("302ixhh6hnlijtkp0oelxikef"); // node_t *dnxt;
845 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
846 UNSUPPORTED("7febwjhfjikg0bvb24i85inl3"); // while ((cg = *cc++)) {
847 UNSUPPORTED("cijqtcfm7sci705u1z4k582tp"); // freeGData(cg);
848 UNSUPPORTED("xmk71ie22xvx7nhgngqacfp9"); // agdelrec(cg, "Agraphinfo_t");
849 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
850 UNSUPPORTED("9ef1tmkqo6s5sssnuq8lfknqq"); // if ((((gdata*)(GD_alg(g)))->ports))
851 UNSUPPORTED("8af0kjmbjyg70lta4awrjjesc"); // free((((gdata*)(GD_alg(g)))->ports));
852 UNSUPPORTED("cwxxae37yzne0ly0kop5ml6mx"); // freeGData(g);
853 UNSUPPORTED("c2ncz5mhklw8a78yq0pq0wmo"); // agdelrec(g, "Agraphinfo_t");
854 UNSUPPORTED("4rp7mjl1clntxri8tw8pytsbj"); // for (dn = agfstnode(g); dn; dn = dnxt) {
855 UNSUPPORTED("31j4zdjpamckm6fc2s29x82k1"); // dnxt = agnxtnode(g, dn);
856 UNSUPPORTED("3y0pwms7qy4blq5v99c8qjteh"); // for (e = agfstout(g, dn); e; e = agnxtout(g, e)) {
857 UNSUPPORTED("4xbv3tolbid1n0zz7n3eamn00"); // free (ED_to_virt(e));
858 UNSUPPORTED("8w3d3ji4u0lki4coi2qpmpskg"); // agdelrec(e, "Agedgeinfo_t");
859 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
860 UNSUPPORTED("f4nskiqzun441c5ex40ie8gw0"); // freeDeriveNode(dn);
861 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
862 UNSUPPORTED("ego3r1tvwrpv2hie8y9p8vq4z"); // agclose(g);
863 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
864
865 throw new UnsupportedOperationException();
866 }
867
868
869
870
871 //3 84isuvczdhvikhhnui9e3kzra
872 // static void evalPositions(graph_t * g, graph_t* rootg)
873 public static Object evalPositions(Object... arg) {
874 UNSUPPORTED("1oa3ftxfgwenys84ezoeabexx"); // static void evalPositions(graph_t * g, graph_t* rootg)
875 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
876 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
877 UNSUPPORTED("8uujemixuhlf040icq3zsh7j8"); // graph_t *subg;
878 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
879 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
880 UNSUPPORTED("4s8yf152w1bykvv0sazjkgfxz"); // boxf sbb;
881 UNSUPPORTED("an5yuorm1sh0abvgomq1s0db9"); // bb = (((gdata*)(GD_alg(g)))->bb);
882 UNSUPPORTED("2cvzps80tb9p8pvei2bhwj0us"); // /* translate nodes in g */
883 UNSUPPORTED("31atml91kblm6c59dury75e81"); // if (g != rootg) {
884 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
885 UNSUPPORTED("5jodw5fl7pfp4w8nn8t3x81jr"); // if ((ND_clust(n)) != g)
886 UNSUPPORTED("6hyelvzskqfqa07xtgjtvg2is"); // continue;
887 UNSUPPORTED("4jnp2t03todyz1wxbgdvmlesd"); // ND_pos(n)[0] += bb.LL.x;
888 UNSUPPORTED("228b94b3kuel3j0i7j3cz181h"); // ND_pos(n)[1] += bb.LL.y;
889 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
890 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
891 UNSUPPORTED("7ogmi241wudfqnsslcsy6hjus"); // /* translate top-level clusters and recurse */
892 UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); // for (i = 1; i <= GD_n_cluster(g); i++) {
893 UNSUPPORTED("cpbcovu6u9jpbhniuwko58sge"); // subg = GD_clust(g)[i];
894 UNSUPPORTED("dm5tht2ocq023it8nf3hu6qh5"); // if (g != rootg) {
895 UNSUPPORTED("7405elpmfo8oyjglcsdlje8uw"); // sbb = (((gdata*)(GD_alg(subg)))->bb);
896 UNSUPPORTED("7ed3aflu4lv2rtcdee3mijand"); // sbb.LL.x += bb.LL.x;
897 UNSUPPORTED("7ghwc2c7027s57f40x9doldp8"); // sbb.LL.y += bb.LL.y;
898 UNSUPPORTED("czucbxjkl4ejgixorzhl9szxi"); // sbb.UR.x += bb.LL.x;
899 UNSUPPORTED("68wba2rnx2qf1yb1zwl7emyom"); // sbb.UR.y += bb.LL.y;
900 UNSUPPORTED("6vyufad5w3ewjk847wfvet74d"); // (((gdata*)(GD_alg(subg)))->bb) = sbb;
901 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
902 UNSUPPORTED("bj0ndzvvsqfftb69nsf5gwgo"); // evalPositions(subg, rootg);
903 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
904 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
905
906 throw new UnsupportedOperationException();
907 }
908
909
910
911
912 //3 6ptl3bkajdnlcqjtcc65lvzn4
913 // static void initCList(clist_t * clist)
914 public static Object initCList(Object... arg) {
915 UNSUPPORTED("426b4jcrii041onjvleavkg6a"); // static void initCList(clist_t * clist)
916 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
917 UNSUPPORTED("64bbojzoaaau1t7cl5l5hxdbc"); // clist->cl = 0;
918 UNSUPPORTED("auxbos07f2t0rtf8w8sziaka1"); // clist->sz = 0;
919 UNSUPPORTED("27dd5xcxwffb51e9kt8smvs5v"); // clist->cnt = 0;
920 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
921
922 throw new UnsupportedOperationException();
923 }
924
925
926
927
928 //3 39dqbok6w7dzecbztpcwr2sss
929 // static void addCluster(clist_t * clist, graph_t * subg)
930 public static Object addCluster(Object... arg) {
931 UNSUPPORTED("ch4ooh4zms6v4wnaeg3mu7crr"); // static void addCluster(clist_t * clist, graph_t * subg)
932 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
933 UNSUPPORTED("ecw34rlkdj1yxbju8tntke1q7"); // clist->cnt++;
934 UNSUPPORTED("11sdiyvywz6e8huzmiae0luxe"); // if (clist->cnt >= clist->sz) {
935 UNSUPPORTED("bw2tzb3640mp9g0yqkt1qriuo"); // clist->sz += 10;
936 UNSUPPORTED("3br43nvgjghg5cl8w55jb575c"); // clist->cl = RALLOC(clist->sz, clist->cl, graph_t *);
937 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
938 UNSUPPORTED("2ppf11sr4a47a0hsns9fy4ss"); // clist->cl[clist->cnt] = subg;
939 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
940
941 throw new UnsupportedOperationException();
942 }
943
944
945
946
947 //3 blvez04enibnb1urti8nypr3m
948 // static char *portName(graph_t * g, bport_t * p)
949 public static Object portName(Object... arg) {
950 UNSUPPORTED("2okvscqwpqqezrovvu7ckzyu4"); // static char *portName(graph_t * g, bport_t * p)
951 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
952 UNSUPPORTED("2l3sv6t0gt2fzfwgwp413xane"); // edge_t *e = p->e;
953 UNSUPPORTED("7sdvsuo2rbo6of75bzleek8qf"); // node_t *h = aghead(e);
954 UNSUPPORTED("7jj1xtfi4cbw5y6yhlzh0mli4"); // node_t *t = agtail(e);
955 UNSUPPORTED("8sd9gndpjspq37480rd49es9t"); // static char buf[1000 + 1];
956 UNSUPPORTED("41orbbs9l9t5osihlly2avycl"); // int len = 8;
957 UNSUPPORTED("2kipzrn24xz111kc3wsad5y0a"); // len += strlen(agnameof(g)) + strlen(agnameof(h)) + strlen(agnameof(t));
958 UNSUPPORTED("5oxm695jqpgfl1ixyyoi3befn"); // if (len >= 1000)
959 UNSUPPORTED("8e5b7vlvn7ipfcpws1u55nbno"); // sprintf(buf, "_port_%s_%s_%s_%ld", agnameof(g), agnameof(t), agnameof(h),
960 UNSUPPORTED("22t9pdxhzto354ya2hq6wuba4"); // (unsigned long)AGSEQ(e));
961 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
962 UNSUPPORTED("e6kgc72n0x7sdm9oybcsvjew7"); // sprintf(buf, "_port_%s_(%d)_(%d)_%ld",agnameof(g), ND_id(t), ND_id(h),
963 UNSUPPORTED("22t9pdxhzto354ya2hq6wuba4"); // (unsigned long)AGSEQ(e));
964 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
965 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
966
967 throw new UnsupportedOperationException();
968 }
969
970
971
972
973 //3 9xly1bqcrp9nnod8k5jfwbp5g
974 // static void chkPos(graph_t* g, node_t* n, layout_info* infop, boxf* bbp)
975 public static Object chkPos(Object... arg) {
976 UNSUPPORTED("3o5p4sqo0s46cn3vz2s0dfh29"); // static void chkPos(graph_t* g, node_t* n, layout_info* infop, boxf* bbp)
977 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
978 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
979 UNSUPPORTED("d8yqhxb1cnge86592ge3ahdkf"); // char *pp;
980 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
981 UNSUPPORTED("wrvu9u7a8j6i6y6552zncxfk"); // char c;
982 UNSUPPORTED("em08bsddr0lwo4o5yqu8utzgq"); // graph_t *parent;
983 UNSUPPORTED("8m5vv3nw7eyhv8rf2b8p0zzie"); // attrsym_t *G_coord = infop->G_coord;
984 UNSUPPORTED("429m2pc45k6skac7p443tbpac"); // p = agxget(g, G_coord);
985 UNSUPPORTED("3f1sat0g6anyggfla96go23ep"); // if (p[0]) {
986 UNSUPPORTED("7hmevhd9t0vhoilb7b7z5rtru"); // if (g != infop->rootg) {
987 UNSUPPORTED("zq8n2wn96yv1mbobk1qu5rmj"); // parent =agparent(g);
988 UNSUPPORTED("89aks9kqee96aw168b43hfrtq"); // pp = agxget(parent, G_coord);
989 UNSUPPORTED("9dhvu3xnw93fbt644b52o03to"); // if ((pp == p) || !strcmp(p, pp))
990 UNSUPPORTED("6bj8inpmr5ulm16jmfxsstjtn"); // return;
991 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
992 UNSUPPORTED("cr1dg3johqjxamg5latzq2tdv"); // c = '\0';
993 UNSUPPORTED("ej59cehhf9pgaw8t6st82pwfv"); // if (sscanf(p, "%lf,%lf,%lf,%lf%c",
994 UNSUPPORTED("9o8oz4nmdyu2kqdek3kb6q226"); // &bb.LL.x, &bb.LL.y, &bb.UR.x, &bb.UR.y, &c) >= 4) {
995 UNSUPPORTED("4lxmr7172n4y4nnubzchbq96t"); // if (PSinputscale > 0.0) {
996 UNSUPPORTED("1c7k9urwuwp7p7vxoy4q7r4sp"); // bb.LL.x /= PSinputscale;
997 UNSUPPORTED("441y7dez7jdhtc56rhx61f0tv"); // bb.LL.y /= PSinputscale;
998 UNSUPPORTED("65wvxshjtzdc9zocf9xsl2gvv"); // bb.UR.x /= PSinputscale;
999 UNSUPPORTED("5v7ndgkjn1ruevu0a06twp7mc"); // bb.UR.y /= PSinputscale;
1000 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1001 UNSUPPORTED("9qnr8qmbz7pf3mmpebux0p08m"); // if (c == '!')
1002 UNSUPPORTED("a2of0q0fgez6ppasmwdujr5lc"); // ND_pinned(n) = 3;
1003 UNSUPPORTED("3nlo9d762yf47jmo6mddv2rhj"); // else if (c == '?')
1004 UNSUPPORTED("6jh0kyj5b3x2wq1r7hzqizihz"); // ND_pinned(n) = 2;
1005 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1006 UNSUPPORTED("56ez5c0ki8jup5kllwhd9zxdc"); // ND_pinned(n) = 1;
1007 UNSUPPORTED("a5ap9hnosv5rv8rwk7ba8won1"); // *bbp = bb;
1008 UNSUPPORTED("6to1esmb8qfrhzgtr7jdqleja"); // } else
1009 UNSUPPORTED("ezi6sqatds0b2fgekxfupde82"); // agerr(AGWARN, "graph %s, coord %s, expected four doubles\n",
1010 UNSUPPORTED("5hu65ilq398d3ey6pxk0s0em9"); // agnameof(g), p);
1011 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1012 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1013
1014 throw new UnsupportedOperationException();
1015 }
1016
1017
1018
1019
1020 //3 5fn3mtocch1b26irypnr09t9m
1021 // static void addEdge(edge_t * de, edge_t * e)
1022 public static Object addEdge(Object... arg) {
1023 UNSUPPORTED("1grpxuhc4kibkdljhpys1kapl"); // static void addEdge(edge_t * de, edge_t * e)
1024 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1025 UNSUPPORTED("e5trxwbwododl3veoj1lp6b7c"); // short cnt = ED_count(de);
1026 UNSUPPORTED("5iu5ll9p8cttx85mphqz03ncq"); // edge_t **el;
1027 UNSUPPORTED("1bndnrccbbggbh4tnw3a6zabs"); // el = (edge_t **) (ED_to_virt(de));
1028 UNSUPPORTED("eoxhjwtyx2ujqsjoaaarclfrj"); // el = ALLOC(cnt + 1, el, edge_t *);
1029 UNSUPPORTED("1ttlm7ew26jwfoq2o0170ns27"); // el[cnt] = e;
1030 UNSUPPORTED("8teacoxlhsm20661x85b70o6c"); // ED_to_virt(de) = (edge_t *) el;
1031 UNSUPPORTED("b3lq6k9r48uakki9aciefl1b0"); // ED_count(de)++;
1032 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1033
1034 throw new UnsupportedOperationException();
1035 }
1036
1037
1038
1039
1040 //3 7agb5w2cnyvb0z8q9nihjbsxp
1041 // static void copyAttr (graph_t* g, graph_t* dg, char* attr)
1042 public static Object copyAttr(Object... arg) {
1043 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1044 UNSUPPORTED("9hbiavk3r6a6bq4cvcry8dscw"); // copyAttr (graph_t* g, graph_t* dg, char* attr)
1045 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1046 UNSUPPORTED("2na6lh852kcxird2ho1vichf5"); // char* ov_val;
1047 UNSUPPORTED("848o3cjndi1v3xpwjjiebzbvp"); // Agsym_t* ov;
1048 UNSUPPORTED("ca8z7ma72fqedls8lj4qi01ra"); // if ((ov = agattr(g,AGRAPH, attr, NULL))) {
1049 UNSUPPORTED("emj7axj812hks27wjzvj3e5yt"); // ov_val = agxget(g,ov);
1050 UNSUPPORTED("3pu4oq8u9tlqnjo0bc5vcowjl"); // ov = agattr(dg,AGRAPH, attr, NULL);
1051 UNSUPPORTED("2rypj3m1cr0g1qbrw8fbn1q6g"); // if (ov)
1052 UNSUPPORTED("9l6gavxujo2qkhfh7jwwgriu0"); // agxset (dg, ov, ov_val);
1053 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1054 UNSUPPORTED("3iuelryhfjpm6rm2im7gc5j5z"); // agattr(dg, AGRAPH, attr, ov_val);
1055 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1056 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1057
1058 throw new UnsupportedOperationException();
1059 }
1060
1061
1062
1063
1064 //3 6vdt9ftxoj8z4xb5zvray3g1m
1065 // static graph_t *deriveGraph(graph_t * g, layout_info * infop)
1066 public static Object deriveGraph(Object... arg) {
1067 UNSUPPORTED("2sd6al0j42gndvdmp4rzw18jd"); // static graph_t *deriveGraph(graph_t * g, layout_info * infop)
1068 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1069 UNSUPPORTED("36r1dzbbxcnyuanwl0580q4nw"); // graph_t *dg;
1070 UNSUPPORTED("cuxjodqo53rx3gt9t353c352r"); // node_t *dn;
1071 UNSUPPORTED("8uujemixuhlf040icq3zsh7j8"); // graph_t *subg;
1072 UNSUPPORTED("4tltvvpkm9lkmh7xst5u0auxy"); // char name[100];
1073 UNSUPPORTED("dj8wp6znctlnc9ae1rgvqwtj0"); // bport_t *pp;
1074 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
1075 UNSUPPORTED("8u0qg8saz2tni323ov8v7ym8g"); // edge_t *de;
1076 UNSUPPORTED("cbj0me372w66gi341wwhu1uxz"); // int i, id = 0;
1077 UNSUPPORTED("5o8czyuixfuavbsljaqx0o0co"); // sprintf(name, "_dg_%d", infop->gid++);
1078 UNSUPPORTED("41xjj6amd58fjieqo5xy29iwq"); // if (Verbose >= 2)
1079 UNSUPPORTED("2jw7n9j1r26v41dzbriysfuph"); // fprintf(stderr, "derive graph %s of %s\n", name, agnameof(g));
1080 UNSUPPORTED("ass9x7oye1kqh43r99fe134rc"); // dg = agopen("derived", Agstrictdirected,((Agdisc_t *)0));
1081 UNSUPPORTED("8u7x1w8qeiknrzdmu54br8hgh"); // agbindrec(dg, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0));
1082 UNSUPPORTED("1drj83vu125frg9jj9i95swg0"); // GD_alg(dg) = (void *) (gdata*)zmalloc(sizeof(gdata)); /* freed in freeDeriveGraph */
1083 UNSUPPORTED("4d4xxxlu1ervuob2lrn7bp8w7"); // GD_ndim(dg) = GD_ndim(g);
1084 UNSUPPORTED("ad3gj6lsuor2yei2uael49jhb"); // /* Copy attributes from g.
1085 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1086 UNSUPPORTED("134w8vcs8qk4v9vf1z1wp9vg0"); // copyAttr(g,dg,"overlap");
1087 UNSUPPORTED("5fwoygmjkymrgxdkfmkutsvuz"); // copyAttr(g,dg,"sep");
1088 UNSUPPORTED("433rnj6ixonm6y9ctmp9h9lgs"); // copyAttr(g,dg,"K");
1089 UNSUPPORTED("449dsc5wrhyuj3iwozcdd7sdd"); // /* create derived nodes from clusters */
1090 UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); // for (i = 1; i <= GD_n_cluster(g); i++) {
1091 UNSUPPORTED("9ddxwk9qkst1jg6m81vwuwn81"); // boxf fix_bb = {{ MAXDOUBLE, MAXDOUBLE },{ -MAXDOUBLE, -MAXDOUBLE }};
1092 UNSUPPORTED("cpbcovu6u9jpbhniuwko58sge"); // subg = GD_clust(g)[i];
1093 UNSUPPORTED("cxmz2wd4fqxujrjcaogvck4n7"); // do_graph_label(subg);
1094 UNSUPPORTED("d25721erilxnl8e6wgtvwwf4j"); // dn = mkDeriveNode(dg, agnameof(subg));
1095 UNSUPPORTED("2p0a7ndqiu7hj4i6qiv1snx4l"); // ND_clust(dn) = subg;
1096 UNSUPPORTED("6nxi4co9zclo5acd9emsgntyw"); // ND_id(dn) = id++;
1097 UNSUPPORTED("bt358jfwmn2uq27qg8kgtungu"); // if (infop->G_coord)
1098 UNSUPPORTED("7f7y9g4k5ts6wgqw0qenbhtu0"); // chkPos(subg, dn, infop, &fix_bb);
1099 UNSUPPORTED("cy3v8r735frrrifffladjezdu"); // for (n = agfstnode(subg); n; n = agnxtnode(subg, n)) {
1100 UNSUPPORTED("1xlso3piaeev0go6meyr8boiz"); // (ND_next(n)) = dn;
1101 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1102 UNSUPPORTED("80rcuwseddkt07frvwz9n17vt"); // if (ND_pinned(dn)) {
1103 UNSUPPORTED("8a2zdxi6udoat007cfp9w4bkw"); // ND_pos(dn)[0] = (fix_bb.LL.x + fix_bb.UR.x) / 2;
1104 UNSUPPORTED("c69q3ml4t91kgitsc44ogkoa5"); // ND_pos(dn)[1] = (fix_bb.LL.y + fix_bb.UR.y) / 2;
1105 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1106 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1107 UNSUPPORTED("617ecq2paqeo8ldlt01h7q0oz"); // /* create derived nodes from remaining nodes */
1108 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1109 UNSUPPORTED("2ix5xgrr9i5zasv51xrt8rdxb"); // if (!(ND_next(n))) {
1110 UNSUPPORTED("chh77aumtkozm98s2n3hq6ntm"); // if ((ND_clust(n)) && ((ND_clust(n)) != (((gdata*)(GD_alg(g)))->parent))) {
1111 UNSUPPORTED("eox2yyzidryds7lm2todgq3g2"); // agerr (AGERR, "node \"%s\" is contained in two non-comparable clusters \"%s\" and \"%s\"\n", agnameof(n), agnameof(g), agnameof((ND_clust(n))));
1112 UNSUPPORTED("5igby0q9jkycahnikpdleoyio"); // longjmp (jbuf, 1);
1113 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1114 UNSUPPORTED("8dikkgctkq3s35v4tz9q2ejit"); // (ND_clust(n)) = g;
1115 UNSUPPORTED("9rhp942iykmc0yotzfkotd12d"); // if ((ND_clustnode(n)))
1116 UNSUPPORTED("6hyelvzskqfqa07xtgjtvg2is"); // continue;
1117 UNSUPPORTED("bv8j18oa5brhrd164npw7573f"); // dn = mkDeriveNode(dg, agnameof(n));
1118 UNSUPPORTED("1xlso3piaeev0go6meyr8boiz"); // (ND_next(n)) = dn;
1119 UNSUPPORTED("2agpwv8n236x82s259zsvvbjc"); // ND_id(dn) = id++;
1120 UNSUPPORTED("3tgv5xfy7e1q5y0rl8zogrrsz"); // ND_width(dn) = ND_width(n);
1121 UNSUPPORTED("32riuc0tbefhrw67o8opdcooo"); // ND_height(dn) = ND_height(n);
1122 UNSUPPORTED("7hfs579l04890tsdi5zlthon2"); // ND_lw(dn) = ND_lw(n);
1123 UNSUPPORTED("cwno1a7tk3plxczie8ckeo13v"); // ND_rw(dn) = ND_rw(n);
1124 UNSUPPORTED("eueztzwym8i21m59nw8oo4il7"); // ND_ht(dn) = ND_ht(n);
1125 UNSUPPORTED("3lmyb3a76s2d2fy2t62go74vl"); // ND_shape(dn) = ND_shape(n);
1126 UNSUPPORTED("2xf64jj50n2mfjsjxqv38kqvb"); // ND_shape_info(dn) = ND_shape_info(n);
1127 UNSUPPORTED("6b4uf9mvh7xmc7zlfisy84j5z"); // if (ND_pinned(n)) {
1128 UNSUPPORTED("3wkwtu9wns6c4a2skfpx1c4ox"); // ND_pos(dn)[0] = ND_pos(n)[0];
1129 UNSUPPORTED("319nx1xdjcjnbkoi5vxe2wowp"); // ND_pos(dn)[1] = ND_pos(n)[1];
1130 UNSUPPORTED("42b5qiqttjn7ragj9irug02py"); // ND_pinned(dn) = ND_pinned(n);
1131 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1132 UNSUPPORTED("jq9juku0mxk2dheeaietg5jj"); // (((dndata*)(ND_alg(dn)))->dn) = n;
1133 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1134 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1135 UNSUPPORTED("e8fak2kgyre9b18od8wyrjlw2"); // /* add edges */
1136 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1137 UNSUPPORTED("ak952thd788dbr90m2fvaklyu"); // edge_t *e;
1138 UNSUPPORTED("25r3mrk84sqvejk2q2dd81aa1"); // node_t *hd;
1139 UNSUPPORTED("bp7hjq9fr800l7cjn5hojjyos"); // node_t *tl = (ND_next(n));
1140 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
1141 UNSUPPORTED("bkfde9mm61hzm3azi6xouz3pv"); // hd = (ND_next(aghead(e)));
1142 UNSUPPORTED("2zvgmnv71vkplklm2dmwu24o6"); // if (hd == tl)
1143 UNSUPPORTED("6hyelvzskqfqa07xtgjtvg2is"); // continue;
1144 UNSUPPORTED("7yvps7igfif7acnwp70cumlel"); // if (hd > tl)
1145 UNSUPPORTED("1g6uo9qs73mwhukefmo4sngv5"); // de = agedge(dg, tl, hd, NULL,1);
1146 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1147 UNSUPPORTED("1022owhcb88r8unps1boedbh4"); // de = agedge(dg, hd, tl, NULL,1);
1148 UNSUPPORTED("7hwwfug2934h5tg5e3qmi8m3w"); // agbindrec(de, "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0));
1149 UNSUPPORTED("22z76uz4xfa28nyk5h3d1gsj3"); // ED_dist(de) = ED_dist(e);
1150 UNSUPPORTED("bcw18t5zay7blame1o4bs12tq"); // ED_factor(de) = ED_factor(e);
1151 UNSUPPORTED("c9nabs4xy7r0fpfmurplkrldy"); // /* fprintf (stderr, "edge %s -- %s\n", tl->name, hd->name); */
1152 UNSUPPORTED("8625nhoiscdsh67j2rus26bgp"); // (((dndata*)(ND_alg(hd)))->wdeg)++;
1153 UNSUPPORTED("1arf55zpaosytbk2doe07hiqh"); // (((dndata*)(ND_alg(tl)))->wdeg)++;
1154 UNSUPPORTED("3sndhzronf938mbr4kohylk4l"); // if ((ED_to_virt(de) == 0)) {
1155 UNSUPPORTED("dp31c14fxs9t515jf1j36ihhw"); // (((dndata*)(ND_alg(hd)))->deg)++;
1156 UNSUPPORTED("eymwfx8dwyyyryw89ninijw61"); // (((dndata*)(ND_alg(tl)))->deg)++;
1157 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1158 UNSUPPORTED("cic1cuypauxmkiv3txyydlocu"); // addEdge(de, e);
1159 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1160 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1161 UNSUPPORTED("5tn7h1exp6stahb3elxmbtchg"); // /* transform ports */
1162 UNSUPPORTED("ac4pgb337ukder3sujg5h9q5t"); // if ((pp = (((gdata*)(GD_alg(g)))->ports))) {
1163 UNSUPPORTED("34rzfa5kqpuclqyhx08ql0nhp"); // bport_t *pq;
1164 UNSUPPORTED("5a0euc7zkzo97d75q8yv5hf9t"); // node_t *m;
1165 UNSUPPORTED("b3nm6dhki6i23iyz1l344asp2"); // int sz = (((gdata*)(GD_alg(g)))->nports);
1166 UNSUPPORTED("6ppwml6ylufuxfg2zrxs0z2ru"); // /* freed in freeDeriveGraph */
1167 UNSUPPORTED("axu3u8881pm5plosjerpfoefx"); // (((gdata*)(GD_alg(dg)))->ports) = pq = (bport_t*)zmalloc((sz + 1)*sizeof(bport_t));
1168 UNSUPPORTED("11mr8ytde2yz4td1bzjpdypro"); // sz = 0;
1169 UNSUPPORTED("ejmu2tqe004hmad7z3uen9sbd"); // while (pp->e) {
1170 UNSUPPORTED("1dd25u4wqgu3t9n27w1glf2z4"); // m = (ND_next(pp->n));
1171 UNSUPPORTED("d4z9wura62xq75gxmoywpoeos"); // /* Create port in derived graph only if hooks to internal node */
1172 UNSUPPORTED("8j32lcooudgseo85a0j51vz55"); // if (m) {
1173 UNSUPPORTED("am8i6svk94imehfp9byv7j5wc"); // dn = mkDeriveNode(dg, portName(g, pp));
1174 UNSUPPORTED("aciu287d4ri031b89kgg3xz6x"); // sz++;
1175 UNSUPPORTED("bhfdahdflxt9gaf1pj0afw7jy"); // ND_id(dn) = id++;
1176 UNSUPPORTED("3aues0xosdqt23ymmjcziopg4"); // if (dn > m)
1177 UNSUPPORTED("7em53cu4xxwoel9gqq82t7lle"); // de = agedge(dg, m, dn, NULL,1);
1178 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
1179 UNSUPPORTED("e951yp20hzuifh083f6spalcu"); // de = agedge(dg, dn, m, NULL,1);
1180 UNSUPPORTED("2j1ohh7g5vwkdgxp5t9t3ny2"); // agbindrec(de, "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0));
1181 UNSUPPORTED("5fe058fybewaey90x4td3ppc9"); // ED_dist(de) = ED_dist(pp->e);
1182 UNSUPPORTED("7a43n1n8dskthaivv69xyb698"); // ED_factor(de) = ED_factor(pp->e);
1183 UNSUPPORTED("3f4oahnf205anxmrm685rba8f"); // addEdge(de, pp->e);
1184 UNSUPPORTED("9tchk5ojkcxw2gm68riqvjif8"); // (((dndata*)(ND_alg(dn)))->wdeg)++;
1185 UNSUPPORTED("9q4bhzgr7c0e098pbmmvhqmg0"); // (((dndata*)(ND_alg(m)))->wdeg)++;
1186 UNSUPPORTED("7j33x9kn3fots2djc9yah9goz"); // (((dndata*)(ND_alg(dn)))->deg)++; /* ports are unique, so this will be the first and */
1187 UNSUPPORTED("55lin4yd4sfuoga01gowno3xn"); // (((dndata*)(ND_alg(m)))->deg)++; /* only time the edge is touched. */
1188 UNSUPPORTED("b0lwy0fznsomw5chpbt1nj5h0"); // pq->n = dn;
1189 UNSUPPORTED("bykxehfnrgknuf93a5cvk1qyd"); // pq->alpha = pp->alpha;
1190 UNSUPPORTED("9r66gr9ec26zwd6yk7l3f05a"); // pq->e = de;
1191 UNSUPPORTED("4ylj4yiwdkddsiqns5j3vq7m3"); // pq++;
1192 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1193 UNSUPPORTED("4t42c85s64mps71a1sjc7yoey"); // pp++;
1194 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1195 UNSUPPORTED("5bhygv54mbde0tmajhaqwxznv"); // (((gdata*)(GD_alg(dg)))->nports) = sz;
1196 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1197 UNSUPPORTED("7t6k0j9ffr522l0t8a1atpxqy"); // return dg;
1198 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1199
1200 throw new UnsupportedOperationException();
1201 }
1202
1203
1204
1205
1206 //3 33v5v2wokaumqudm0d0qlk1t6
1207 // static int ecmp(const void *v1, const void *v2)
1208 public static Object ecmp(Object... arg) {
1209 UNSUPPORTED("cglhxc83kobq6uvln39iefpub"); // static int ecmp(const void *v1, const void *v2)
1210 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1211 UNSUPPORTED("2s7x8car3i6c4lrri2g00b10o"); // erec *e1 = (erec *) v1;
1212 UNSUPPORTED("ea12jvnp6iz8kr6o8prqn92b5"); // erec *e2 = (erec *) v2;
1213 UNSUPPORTED("esrrdcedcjc2527zw88yyq6l3"); // if (e1->alpha > e2->alpha)
1214 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
1215 UNSUPPORTED("29zqx7u24t3hbc2w6nsv43a6z"); // else if (e1->alpha < e2->alpha)
1216 UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // return -1;
1217 UNSUPPORTED("8ix5otcc1qjwrnv4bmhq4d4qo"); // else if (e1->dist2 > e2->dist2)
1218 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
1219 UNSUPPORTED("8rbp65y6jnfq1kcqsvoq98f9g"); // else if (e1->dist2 < e2->dist2)
1220 UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // return -1;
1221 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1222 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
1223 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1224
1225 throw new UnsupportedOperationException();
1226 }
1227
1228
1229
1230
1231 //3 9yzpataeczxhgj2u09bsbpk1k
1232 // static erec *getEdgeList(node_t * n, graph_t * g)
1233 public static Object getEdgeList(Object... arg) {
1234 UNSUPPORTED("4js6nnzf22zxc98rmxu2sy0m5"); // static erec *getEdgeList(node_t * n, graph_t * g)
1235 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1236 UNSUPPORTED("5wjozc08ggypzjbs49uzfopou"); // erec *erecs;
1237 UNSUPPORTED("zc25c5rgocmjnco9wlpa090t"); // int deg = (((dndata*)(ND_alg(n)))->deg);
1238 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1239 UNSUPPORTED("an5v3e2oy9hxck46bwp0l8a0k"); // double dx, dy;
1240 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
1241 UNSUPPORTED("8rdaar71kdkz8cpsoil3hqta0"); // node_t *m;
1242 UNSUPPORTED("cbmm4fkvgxlhv0t133owcx0jn"); // /* freed in expandCluster */
1243 UNSUPPORTED("250grrs502e0mg71llqz7y3ey"); // erecs = (erec*)zmalloc((deg + 1)*sizeof(erec));
1244 UNSUPPORTED("9z3er49pc4h2rxja5r9grdo0h"); // i = 0;
1245 UNSUPPORTED("dcuhjbsiioawp6zspvonwd4px"); // for (e = agfstedge(g, n); e; e = agnxtedge(g, e, n)) {
1246 UNSUPPORTED("cyvbvhb35lmo87fsomu1d96zj"); // if (aghead(e) == n)
1247 UNSUPPORTED("d7s4k8dv2n952zh2uzy586rlg"); // m = agtail(e);
1248 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1249 UNSUPPORTED("1f958q8a7vsixzpgoltd50ck9"); // m = aghead(e);
1250 UNSUPPORTED("230hngcg1h0kimh2x9qmw8aa6"); // dx = ND_pos(m)[0] - ND_pos(n)[0];
1251 UNSUPPORTED("cp7yivxkc1o2123e3fj4fld40"); // dy = ND_pos(m)[1] - ND_pos(n)[1];
1252 UNSUPPORTED("ebc0qzcdpyvo9hv477ji0d4ld"); // erecs[i].e = e;
1253 UNSUPPORTED("9ot3jasi873r93jjz3q7k0xl"); // erecs[i].alpha = atan2(dy, dx);
1254 UNSUPPORTED("ai500wq75tl9pns9eu0ebhnp2"); // erecs[i].dist2 = dx * dx + dy * dy;
1255 UNSUPPORTED("chd2f5z6rt19lbaye25ej7q6j"); // i++;
1256 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1257 UNSUPPORTED("eo3y5e9msr0sbf98a9oq70rlx"); // assert(i == deg);
1258 UNSUPPORTED("4jcqtkewsctxthnbzmwkgsef1"); // qsort(erecs, deg, sizeof(erec), ecmp);
1259 UNSUPPORTED("19r2qn10360fdoz0ctd9swuhi"); // /* ensure no two angles are equal */
1260 UNSUPPORTED("6xfuj7a6ekpi0iz8v543s6enb"); // if (deg >= 2) {
1261 UNSUPPORTED("3y61w6tgxj0gpwvw3bw2rtq34"); // int j;
1262 UNSUPPORTED("armuznkqp0y34r5qokhqwfiiw"); // double a, inc, delta, bnd;
1263 UNSUPPORTED("5or0zebpgtvozlmal8j2q1ymh"); // i = 0;
1264 UNSUPPORTED("b9y24dq92kvg4bpwzicghrrl9"); // while (i < deg - 1) {
1265 UNSUPPORTED("a8npf73y75uu4rqo3f0hnw1hj"); // a = erecs[i].alpha;
1266 UNSUPPORTED("2rrc6js2pfjyzqzzjj6rg6kpa"); // j = i + 1;
1267 UNSUPPORTED("7yy089fn32r4vqha2r41wd3ia"); // while ((j < deg) && (erecs[j].alpha == a))
1268 UNSUPPORTED("ebt0qwigtq6akhjzerdy8d52b"); // j++;
1269 UNSUPPORTED("6owp0mbm26f3nqj1fmbqw05yl"); // if (j == i + 1)
1270 UNSUPPORTED("3c95efoun51kjpyj1cz86clhq"); // i = j;
1271 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
1272 UNSUPPORTED("1mjvaixyabzfkloamfs33m997"); // if (j == deg)
1273 UNSUPPORTED("93m0uslkw81crhho73k7j0iyw"); // bnd = M_PI; /* all values equal up to end */
1274 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
1275 UNSUPPORTED("38sca4776wdqbui5fjgg0rhj"); // bnd = erecs[j].alpha;
1276 UNSUPPORTED("ekjte0x5h4d5chvnzxb8syu3g"); // delta = (bnd - a) / (j - i);
1277 UNSUPPORTED("9vvs5ywf8o7pulajli26ynshh"); // if (delta > (M_PI/90))
1278 UNSUPPORTED("dlu9lh11lmhhkokx86hq43rek"); // delta = (M_PI/90);
1279 UNSUPPORTED("cl85s8tfki4o6j9rxhi27ibob"); // inc = 0;
1280 UNSUPPORTED("an7nwlp3eq8f7mnv3seg9zcoz"); // for (; i < j; i++) {
1281 UNSUPPORTED("2dznixqoe5fhu0xxwy0li9j0j"); // erecs[i].alpha += inc;
1282 UNSUPPORTED("31c8klms0zg7ed5pbia4p7ue7"); // inc += delta;
1283 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1284 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1285 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1286 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1287 UNSUPPORTED("4c2yyc1h799tvjuqrd5sikjsk"); // return erecs;
1288 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1289
1290 throw new UnsupportedOperationException();
1291 }
1292
1293
1294
1295
1296 //3 5f5sxn4g2wwqsa042183bnkkb
1297 // static int genPorts(node_t * n, erec * er, bport_t * pp, int idx, double bnd)
1298 public static Object genPorts(Object... arg) {
1299 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1300 UNSUPPORTED("a7opwz89ty2fab6t5020fxepv"); // genPorts(node_t * n, erec * er, bport_t * pp, int idx, double bnd)
1301 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1302 UNSUPPORTED("dxz8gujppjqsa63merjuwp9ak"); // node_t *other;
1303 UNSUPPORTED("6iv4xusq3ncisurzdtlt8lhe9"); // int cnt;
1304 UNSUPPORTED("nvb8xxeb5opdi1chqigr5ll8"); // edge_t *e = er->e;
1305 UNSUPPORTED("bdbvy4bgsn8d0vzx18gusxheq"); // edge_t *el;
1306 UNSUPPORTED("54sqpcif3uwzim5rzj2yfvcv"); // edge_t **ep;
1307 UNSUPPORTED("etdgofjtpee3ial3gmpgysso0"); // double angle, delta;
1308 UNSUPPORTED("u5aovpvnb8qg67qiutwqcinb"); // int i, j, inc;
1309 UNSUPPORTED("7x9qeha2xtvr3yc8vzkquaayt"); // cnt = ED_count(e);
1310 UNSUPPORTED("6qn90nw5pl3r7g62aowp7ktsb"); // if (aghead(e) == n)
1311 UNSUPPORTED("5a60qbv8r5b666nfetu7fbotj"); // other = agtail(e);
1312 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1313 UNSUPPORTED("ddn2u7jjuy674veth7q72p0sb"); // other = aghead(e);
1314 UNSUPPORTED("ancvozx0amrnu89ky41goacj3"); // delta = (bnd - er->alpha) / cnt;
1315 UNSUPPORTED("5iv4gni7wdiw3u34jy7iefzel"); // angle = er->alpha;
1316 UNSUPPORTED("524im1x5zfkbrj2y3uvtc0o2q"); // if (delta > (M_PI/90))
1317 UNSUPPORTED("5hvdfsr5lwj48jc8ne066wis3"); // delta = (M_PI/90);
1318 UNSUPPORTED("dmzdo20j5ywmevv4pucm657dl"); // if (n < other) {
1319 UNSUPPORTED("efntztef5scb94lalziv9p74c"); // i = idx;
1320 UNSUPPORTED("59w8ipq1hfgjppab0ne4vt5rn"); // inc = 1;
1321 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1322 UNSUPPORTED("9108b9iyl0c19by2pv8n8pxm5"); // i = idx + cnt - 1;
1323 UNSUPPORTED("a7uocrd0csmarv70416d9ro6d"); // inc = -1;
1324 UNSUPPORTED("1d5i6ukso5ctxozysewfhh2ji"); // angle += delta * (cnt - 1);
1325 UNSUPPORTED("9mml7cxrkh63582n90i7pmpri"); // delta = -delta;
1326 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1327 UNSUPPORTED("4jwzdjf4m5joh6ns1sik7sefr"); // ep = (edge_t **) (el = ED_to_virt(e));
1328 UNSUPPORTED("87erwse4muo7uek029fa7troo"); // for (j = 0; j < ED_count(e); j++, ep++) {
1329 UNSUPPORTED("6vqzt3ohw6lxk2qzpwjo6b3yu"); // el = *ep;
1330 UNSUPPORTED("4c8uyhenmzmpllixxgxerkicn"); // pp[i].e = el;
1331 UNSUPPORTED("aqj2zus52vmgjzmi8fjoaj8fy"); // pp[i].n = ((ND_next(agtail(el))) == n ? agtail(el) : aghead(el));
1332 UNSUPPORTED("7j2e3e5y1jlynpdt66xosutmf"); // pp[i].alpha = angle;
1333 UNSUPPORTED("2zobp3cnpuyfg0efxtuusws2c"); // i += inc;
1334 UNSUPPORTED("aeyh09i9hn8lki7e6pkmnl3t7"); // angle += delta;
1335 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1336 UNSUPPORTED("ahjledpa6jcj7ra1dv3nto2b0"); // return (idx + cnt);
1337 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1338
1339 throw new UnsupportedOperationException();
1340 }
1341
1342
1343
1344
1345 //3 1pzmadkv6kzksm5zd4naotpzn
1346 // static graph_t *expandCluster(node_t * n, graph_t * cg)
1347 public static Object expandCluster(Object... arg) {
1348 UNSUPPORTED("riju9qc2n42gxw3wilvyq5zs"); // static graph_t *expandCluster(node_t * n, graph_t * cg)
1349 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1350 UNSUPPORTED("2wfwicsc3edie6yyd9xhtjbnv"); // erec *es;
1351 UNSUPPORTED("1pmrh42jv7qy6796ro7kb0kvf"); // erec *ep;
1352 UNSUPPORTED("3kc67b1kq37hwnadtpynyn0w1"); // erec *next;
1353 UNSUPPORTED("f5k50h9iahfqirvly6e9mlu39"); // graph_t *sg = ND_clust(n);
1354 UNSUPPORTED("dj8wp6znctlnc9ae1rgvqwtj0"); // bport_t *pp;
1355 UNSUPPORTED("6spducho5ji2ipuw64ubl7x70"); // int sz = (((dndata*)(ND_alg(n)))->wdeg);
1356 UNSUPPORTED("716hjbifedt25yhusduvy5hlt"); // int idx = 0;
1357 UNSUPPORTED("7zng16j5qq8oz1p14ahsi4o2b"); // double bnd;
1358 UNSUPPORTED("8eti18xdz2mo8tqmx9hea5gj"); // if (sz != 0) {
1359 UNSUPPORTED("5ee465jmjebzumoi8t37ajkni"); // /* freed in cleanup_subgs */
1360 UNSUPPORTED("dhgbh72vlj9t041pgvr8b4pz1"); // pp = (bport_t*)zmalloc((sz + 1)*sizeof(bport_t));
1361 UNSUPPORTED("6uv9zk4so2vyd8eyt5yk7u224"); // /* create sorted list of edges of n */
1362 UNSUPPORTED("5h94e1eoc5lgyf8oryr168kk7"); // es = ep = getEdgeList(n, cg);
1363 UNSUPPORTED("5pjygnv0w421soihur3j2n19s"); // /* generate ports from edges */
1364 UNSUPPORTED("cv0otlibqhj5qkcyd9j21cjyw"); // while (ep->e) {
1365 UNSUPPORTED("16gz4mmyn1cns1ghgi4jnxtjz"); // next = ep + 1;
1366 UNSUPPORTED("epalo8tlkkido0vcxo64ti05o"); // if (next->e)
1367 UNSUPPORTED("8wo10h6flofq3f62vy4o7kbfs"); // bnd = next->alpha;
1368 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1369 UNSUPPORTED("biobr00aq48njyaoumysv2mdt"); // bnd = 2 * M_PI + es->alpha;
1370 UNSUPPORTED("dzv1s960k4mmyjifb39ofyf4w"); // idx = genPorts(n, ep, pp, idx, bnd);
1371 UNSUPPORTED("77abayl2usgy0cb19tv6lfa0a"); // ep = next;
1372 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1373 UNSUPPORTED("7pzx73jx9fdlfpom5fvuisf30"); // assert(idx == sz);
1374 UNSUPPORTED("5yg1wxrsyr26qkpfg5hb6ox69"); // (((gdata*)(GD_alg(sg)))->ports) = pp;
1375 UNSUPPORTED("2pte1i8la6fqapoqo9i6jq2jd"); // (((gdata*)(GD_alg(sg)))->nports) = sz;
1376 UNSUPPORTED("4vjbnrhp6sp81ysgpigk0w9fe"); // free(es);
1377 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1378 UNSUPPORTED("1jw141gg4omv8r72xcbl5ln0o"); // return sg;
1379 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1380
1381 throw new UnsupportedOperationException();
1382 }
1383
1384
1385
1386
1387 //3 y2v1e8mlrtal0inmqimbmwil
1388 // static void setClustNodes(graph_t* root)
1389 public static Object setClustNodes(Object... arg) {
1390 UNSUPPORTED("59dl3yc4jbcy2pb7j1njhlybi"); // static void
1391 UNSUPPORTED("a1xr13co28v2x7itvx57ckyjv"); // setClustNodes(graph_t* root)
1392 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1393 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
1394 UNSUPPORTED("2n9wv2dwa543h4bdjd6u9qil3"); // graph_t* p;
1395 UNSUPPORTED("43ygqm2wusmc5ufanrf2tywuv"); // pointf ctr;
1396 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
1397 UNSUPPORTED("3qdhpefftpzkhd1uimovgz5jh"); // double w, h, h_pts;
1398 UNSUPPORTED("d0p8olt4t1x5mfdfjmckju3y8"); // double h2, w2;
1399 UNSUPPORTED("d9xe8rt1gktknfj0nxqb22eba"); // pointf *vertices;
1400 UNSUPPORTED("8uyptmsbxy8cnb2yc5e1zjy93"); // for (n = agfstnode(root); n; n = agnxtnode(root, n)) {
1401 UNSUPPORTED("4b1hbbxns6t6oevwjsbv4513z"); // if (!(ND_clustnode(n))) continue;
1402 UNSUPPORTED("2m6wdm3211yoi47ht9uwrwgsm"); // p = (ND_clust(n));
1403 UNSUPPORTED("5b9nka9jqnnowwqftn354445m"); // bb = (((gdata*)(GD_alg(p)))->bb); /* bbox in parent cluster's coordinates */
1404 UNSUPPORTED("ehx0x2r1iwiwqns4hwag5ww6q"); // w = bb.UR.x - bb.LL.x;
1405 UNSUPPORTED("ecqr8i6dhetdps522wjdfb2c"); // h = bb.UR.y - bb.LL.y;
1406 UNSUPPORTED("aqt54dcfuupky9j2d2wlh5rd8"); // ctr.x = w / 2.0;
1407 UNSUPPORTED("vyxkz174l2mhl7ztncntmmsz"); // ctr.y = h / 2.0;
1408 UNSUPPORTED("1olcqhh2kmzq3hpz80wh71gcr"); // w2 = ((w / 2.0)*(double)72);
1409 UNSUPPORTED("c25hsrybs7p3ee3xen5qd13gj"); // h2 = ((h / 2.0)*(double)72);
1410 UNSUPPORTED("lcz07cdtav0i5pkdm4ulyeif"); // h_pts = ((h)*(double)72);
1411 UNSUPPORTED("bw4ulfhcuzvtfy8f1a0fjmiug"); // ND_pos(n)[0] = ctr.x;
1412 UNSUPPORTED("ec6oo47jscvlloh5x7u26ompb"); // ND_pos(n)[1] = ctr.y;
1413 UNSUPPORTED("6as0e9whx5epwmgr5h91oood0"); // ND_width(n) = w;
1414 UNSUPPORTED("exytwm9csyh4wkam8a94p7hd7"); // ND_height(n) = h;
1415 UNSUPPORTED("2izyeakwnte2k0f1rym0focld"); // /* ND_xsize(n) = POINTS(w); */
1416 UNSUPPORTED("928hx9xiah08q2u08vu7ukgpt"); // ND_lw(n) = ND_rw(n) = w2;
1417 UNSUPPORTED("d0yspu392ttmkkqljtfb2eskr"); // ND_ht(n) = h_pts;
1418 UNSUPPORTED("22vsci7n08rkutzk5kh2yhl7c"); // vertices = ((polygon_t *) ND_shape_info(n))->vertices;
1419 UNSUPPORTED("dtnoqplb6f5t6rjoetdbn7dpt"); // vertices[0].x = ND_rw(n);
1420 UNSUPPORTED("no8acgmdosrbl407jbxil2zz"); // vertices[0].y = h2;
1421 UNSUPPORTED("5l5suyq7b3qoi5470ao9b1ihn"); // vertices[1].x = -ND_lw(n);
1422 UNSUPPORTED("4edoiulp1b902plttl0pprjs9"); // vertices[1].y = h2;
1423 UNSUPPORTED("b0yvqxi6n1vwbsngtqj8o03fp"); // vertices[2].x = -ND_lw(n);
1424 UNSUPPORTED("exj9asgcw08vxfr39ityozdfc"); // vertices[2].y = -h2;
1425 UNSUPPORTED("79hj8e9phwhpt992ut5q0iczf"); // vertices[3].x = ND_rw(n);
1426 UNSUPPORTED("93e6r0lx82k87elewlj8r4an5"); // vertices[3].y = -h2;
1427 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1428 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1429
1430 throw new UnsupportedOperationException();
1431 }
1432
1433
1434
1435
1436 //3 2uewd3mw1hgw96jr7xtn0ic0j
1437 // static void layout(graph_t * g, layout_info * infop)
1438 public static Object layout(Object... arg) {
1439 UNSUPPORTED("9wf2yhzjprzwjjvfeh8z88me2"); // static
1440 UNSUPPORTED("dh8zvn9r31zuya7cuy1pahkna"); // void layout(graph_t * g, layout_info * infop)
1441 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1442 UNSUPPORTED("88zvgip6mka5eie52temi7ynd"); // point *pts = NULL;
1443 UNSUPPORTED("36r1dzbbxcnyuanwl0580q4nw"); // graph_t *dg;
1444 UNSUPPORTED("cuxjodqo53rx3gt9t353c352r"); // node_t *dn;
1445 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
1446 UNSUPPORTED("e75aepnaqkzqf68ewt7a4zqfi"); // graph_t *cg;
1447 UNSUPPORTED("5wyi0wasd5kecf6rhsqdjk7v2"); // graph_t *sg;
1448 UNSUPPORTED("9qoemozuf8uc27tr5yncxluhz"); // graph_t **cc;
1449 UNSUPPORTED("8gobe9nq2l5rtdvjoqtow0smk"); // graph_t **pg;
1450 UNSUPPORTED("bgwb4n61b6v6hggxzjxkzyyhh"); // int c_cnt;
1451 UNSUPPORTED("d8w902k7y57534m1l3mqq9o65"); // int pinned;
1452 UNSUPPORTED("737jd5uo7xo54hyd5aao8g0aw"); // xparams xpms;
1453 UNSUPPORTED("cve2on8gll5i0vomy8lnwhai2"); // if (Verbose) {
1454 UNSUPPORTED("rheewzyfvag1kqk93eajs451"); // fprintf (stderr, "layout %s\n", agnameof(g));
1455 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1456 UNSUPPORTED("cixz5s3nezkl0juedeg7g84v"); // /* initialize derived node pointers */
1457 UNSUPPORTED("16hw9gw0dz2w7mrtba0eoqrdi"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
1458 UNSUPPORTED("b11q9bnts0snyhhzbw1jj9miy"); // (ND_next(n)) = 0;
1459 UNSUPPORTED("7hk4syj6pc3qquqkt2x0z7ia3"); // dg = deriveGraph(g, infop);
1460 UNSUPPORTED("1ed3c4bs6xzjsg99joywylwdz"); // cc = pg = findCComp(dg, &c_cnt, &pinned);
1461 UNSUPPORTED("bzg4jbqclh75xauf8ahwwlqeu"); // while ((cg = *pg++)) {
1462 UNSUPPORTED("6p7xfvlw6j6ymy8dd4rtsex4c"); // fdp_tLayout(cg, &xpms);
1463 UNSUPPORTED("4kwu1qpsymozefbkw7esfkp0s"); // for (n = agfstnode(cg); n; n = agnxtnode(cg, n)) {
1464 UNSUPPORTED("19hq5zcwrpz3kbanolctt1rga"); // if (ND_clust(n)) {
1465 UNSUPPORTED("ehq21whkkcc52880147xdb98t"); // pointf pt;
1466 UNSUPPORTED("f3yuqnp4vbccljwzhl5z97asc"); // sg = expandCluster(n, cg); /* attach ports to sg */
1467 UNSUPPORTED("cpdfu4kunfnauzugdp79ygbed"); // layout(sg, infop);
1468 UNSUPPORTED("8vfg96ob62g74ognc7r4pyolw"); // /* bb.LL == origin */
1469 UNSUPPORTED("9og4fo5ydbv2iekdwdiithgp7"); // ND_width(n) = (((gdata*)(GD_alg(sg)))->bb).UR.x;
1470 UNSUPPORTED("ar5b8mgij9tdpbvonzvniy4w9"); // ND_height(n) = (((gdata*)(GD_alg(sg)))->bb).UR.y;
1471 UNSUPPORTED("m7uq67pf5n4kny8dsfqyvlgz"); // pt.x = 72 * (((gdata*)(GD_alg(sg)))->bb).UR.x;
1472 UNSUPPORTED("7qqo12s2ly8pftx69v9ho2fpx"); // pt.y = 72 * (((gdata*)(GD_alg(sg)))->bb).UR.y;
1473 UNSUPPORTED("6su2k057bgfgqwapl1bq6re22"); // ND_rw(n) = ND_lw(n) = pt.x/2;
1474 UNSUPPORTED("37rbzv83unu3wx38yhpqt3mfm"); // ND_ht(n) = pt.y;
1475 UNSUPPORTED("1lbnffsi0sqewlhnfr306b5os"); // } else if ((!(((dndata*)(ND_alg(n)))->dn) && !ND_clust(n)))
1476 UNSUPPORTED("12ovzyxhse31ofvnedz9rnbmi"); // agdelete(cg, n); /* remove ports from component */
1477 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1478 UNSUPPORTED("2hwmcp6r05fwoszwknajwr4e"); // /* Remove overlaps */
1479 UNSUPPORTED("bd30sghv773eh25e8172kcp79"); // if (agnnodes(cg) >= 2) {
1480 UNSUPPORTED("dde6icyk8p097navhq7n3d4rv"); // if (g == infop->rootg)
1481 UNSUPPORTED("o91hsoxdu3977z0no3btqze1"); // normalize (cg);
1482 UNSUPPORTED("9us3yztqv6awyy06jb3151pyz"); // fdp_xLayout(cg, &xpms);
1483 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1484 UNSUPPORTED("6mqatxukn8l6algw6wnicdq1h"); // /* set bounding box but don't use ports */
1485 UNSUPPORTED("6n9q6i2oz0h5lg51ne8sgdjd7"); // /* setBB (cg); */
1486 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1487 UNSUPPORTED("ach533dwiyc833o0pcf45m8ey"); // /* At this point, each connected component has its nodes correctly
1488 UNSUPPORTED("dtlaursnpahyf5yquwl2hogzu"); // * positioned. If we have multiple components, we pack them together.
1489 UNSUPPORTED("cm4nzlpqz8bqyrm7er7yidp10"); // * All nodes will be moved to their new positions.
1490 UNSUPPORTED("8y4iimz4emw890c9cxiq368e7"); // * NOTE: packGraphs uses nodes in components, so if port nodes are
1491 UNSUPPORTED("8fxnvrdauinzrmk5b92vzkmwb"); // * not removed, it won't work.
1492 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1493 UNSUPPORTED("2dnakiplqvzvuwlmi04ym76w5"); // /* Handle special cases well: no ports to real internal nodes
1494 UNSUPPORTED("3ngzsmdezip2r5y6yu5ven665"); // * Place cluster edges separately, after layout.
1495 UNSUPPORTED("d7ob3q5h2kihofcd4ddnyn9ge"); // * How to combine parts, especially with disparate components?
1496 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1497 UNSUPPORTED("69t9ynphg2g4zqbfhks86yntc"); // if (c_cnt > 1) {
1498 UNSUPPORTED("3i3alyfv4qh2fz47okmy66eyf"); // boolean *bp;
1499 UNSUPPORTED("rf0rb7e28dtuppfrbea2pr6i"); // if (pinned) {
1500 UNSUPPORTED("c0t0fbfp6yuwwowbu3c3qzmmf"); // bp = (boolean*)zmalloc((c_cnt)*sizeof(boolean));
1501 UNSUPPORTED("3bzp377yjo1rz02ji0pcubqdg"); // bp[0] = NOT(0);
1502 UNSUPPORTED("6to1esmb8qfrhzgtr7jdqleja"); // } else
1503 UNSUPPORTED("e3vi166v7e69g73awva2677ii"); // bp = 0;
1504 UNSUPPORTED("6oq7dybkkhotxhmrffm6zq654"); // infop->pack.fixed = bp;
1505 UNSUPPORTED("3kwssq0p8kfzn8oj843c4sadv"); // pts = putGraphs(c_cnt, cc, NULL, &infop->pack);
1506 UNSUPPORTED("ba9wjjntjmbkmsqme4dmd6vly"); // if (bp)
1507 UNSUPPORTED("12zvaavn1p29dn5i0f00qjmvj"); // free(bp);
1508 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1509 UNSUPPORTED("b6puqm8dbf47p8okgmwft9wm8"); // pts = NULL;
1510 UNSUPPORTED("80omcjjgczpgh78ubtnewnqeo"); // if (c_cnt == 1)
1511 UNSUPPORTED("d1p8uifde77cs8ru5l0jthcor"); // compute_bb(cc[0]);
1512 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1513 UNSUPPORTED("8uqxq2wibo1qumfk9jb959hw0"); // /* set bounding box of dg and reposition nodes */
1514 UNSUPPORTED("a49nqy0s2t1fsx52x7a00ng6m"); // finalCC(dg, c_cnt, cc, pts, g, infop);
1515 UNSUPPORTED("1yomvtf3njcprecdmp7eq33o7"); // free (pts);
1516 UNSUPPORTED("4rqo60r491fsqgbni456x6hci"); // /* record positions from derived graph to input graph */
1517 UNSUPPORTED("b0scw6vikd2qnty4kh34khl6q"); // /* At present, this does not record port node info */
1518 UNSUPPORTED("7nwtte44n9k20ku652pjxaf79"); // /* In fact, as noted above, we have removed port nodes */
1519 UNSUPPORTED("9v9aifyc1wn6fmqno12jtgowg"); // for (dn = agfstnode(dg); dn; dn = agnxtnode(dg, dn)) {
1520 UNSUPPORTED("6ta70illj6ohfmqkcmf1wmybj"); // if ((sg = ND_clust(dn))) {
1521 UNSUPPORTED("burgcn0sab271m2e67b9vs4e8"); // (((gdata*)(GD_alg(sg)))->bb).LL.x = ND_pos(dn)[0] - ND_width(dn) / 2;
1522 UNSUPPORTED("45rvs2t96msophfe1x3mvh9uc"); // (((gdata*)(GD_alg(sg)))->bb).LL.y = ND_pos(dn)[1] - ND_height(dn) / 2;
1523 UNSUPPORTED("1alcqvbu6g0lg3qq1qd411k4n"); // (((gdata*)(GD_alg(sg)))->bb).UR.x = (((gdata*)(GD_alg(sg)))->bb).LL.x + ND_width(dn);
1524 UNSUPPORTED("296pr00pchso0t5tx7ml91gjg"); // (((gdata*)(GD_alg(sg)))->bb).UR.y = (((gdata*)(GD_alg(sg)))->bb).LL.y + ND_height(dn);
1525 UNSUPPORTED("5tzeb32o52lqrqrfnrsdvlp6w"); // } else if ((n = (((dndata*)(ND_alg(dn)))->dn))) {
1526 UNSUPPORTED("1topwhb5x9qma92g5gds1klvz"); // ND_pos(n)[0] = ND_pos(dn)[0];
1527 UNSUPPORTED("dvh5pxzw5ug0vj9xh6t0kbzmx"); // ND_pos(n)[1] = ND_pos(dn)[1];
1528 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1529 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1530 UNSUPPORTED("96o7eqvvi7yfzjh5cihnlmik1"); // (((gdata*)(GD_alg(g)))->bb) = (((gdata*)(GD_alg(dg)))->bb);
1531 UNSUPPORTED("55phil4i9byyqk021s75t7jm5"); // /* clean up temp graphs */
1532 UNSUPPORTED("3oko0jiuaxgco73omavewl6ul"); // freeDerivedGraph(dg, cc);
1533 UNSUPPORTED("799nquje2u0787f1v6vg7jeo4"); // free(cc);
1534 UNSUPPORTED("cve2on8gll5i0vomy8lnwhai2"); // if (Verbose) {
1535 UNSUPPORTED("egyar87ti23k1trkd58y9x5mn"); // fprintf (stderr, "end %s\n", agnameof(g));
1536 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1537 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1538
1539 throw new UnsupportedOperationException();
1540 }
1541
1542
1543
1544
1545 //3 e6vpkhzs8vppi1ddy6378h69x
1546 // static void setBB(graph_t * g)
1547 public static Object setBB(Object... arg) {
1548 UNSUPPORTED("9gihlzux5i75iigxxvzci8y95"); // static void setBB(graph_t * g)
1549 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1550 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1551 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
1552 UNSUPPORTED("66b1xztgh3k2s120ukvbxb0oe"); // bb.LL.x = 72 * (((gdata*)(GD_alg(g)))->bb).LL.x;
1553 UNSUPPORTED("pkikrl9ki5yy5rjpuhzhi6a4"); // bb.LL.y = 72 * (((gdata*)(GD_alg(g)))->bb).LL.y;
1554 UNSUPPORTED("33pghp4flcuky4frryba6nm6n"); // bb.UR.x = 72 * (((gdata*)(GD_alg(g)))->bb).UR.x;
1555 UNSUPPORTED("btca3fazt152tlo4fumfshra6"); // bb.UR.y = 72 * (((gdata*)(GD_alg(g)))->bb).UR.y;
1556 UNSUPPORTED("8pjanfm12ixxbeb7k86g3z5p4"); // GD_bb(g) = bb;
1557 UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); // for (i = 1; i <= GD_n_cluster(g); i++) {
1558 UNSUPPORTED("elctwbyabxid1y9nbaea8sjun"); // setBB(GD_clust(g)[i]);
1559 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1560 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1561
1562 throw new UnsupportedOperationException();
1563 }
1564
1565
1566
1567
1568 //3 dn6oox23u0h8iskougokslo7e
1569 // void init_info(graph_t * g, layout_info * infop)
1570 public static Object init_info(Object... arg) {
1571 UNSUPPORTED("2lc3y7r4ks1cm6hql04o6t4hh"); // void init_info(graph_t * g, layout_info * infop)
1572 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1573 UNSUPPORTED("nw5y54zwq0b2slyao5wjz11m"); // infop->G_coord = agattr(g,AGRAPH, "coords", NULL);
1574 UNSUPPORTED("9p4le4vmrhg113rhwle53g00s"); // infop->G_width = agattr(g,AGRAPH, "width", NULL);
1575 UNSUPPORTED("a3bto8c232ov09lrrt8ffqjc0"); // infop->G_height = agattr(g, AGRAPH,"height", NULL);
1576 UNSUPPORTED("56qpputejr9qv8j4odoy6niiq"); // infop->rootg = g;
1577 UNSUPPORTED("1et75ypywlqixo81s24gievh1"); // infop->gid = 0;
1578 UNSUPPORTED("713zzachlarjpl7ntk2ri17xs"); // infop->pack.mode = getPackInfo(g, l_node, 8 / 2, &(infop->pack));
1579 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1580
1581 throw new UnsupportedOperationException();
1582 }
1583
1584
1585
1586
1587 //3 5hmw0raf7fo7e1651a9c86ux6
1588 // static void mkClusters (graph_t * g, clist_t* pclist, graph_t* parent)
1589 public static Object mkClusters(Object... arg) {
1590 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1591 UNSUPPORTED("2eeb6d0sgy6unuutphirljrg0"); // mkClusters (graph_t * g, clist_t* pclist, graph_t* parent)
1592 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1593 UNSUPPORTED("33i6ihl97ygnd0nu3vshtyus2"); // graph_t* subg;
1594 UNSUPPORTED("91n1af2pl9y3luspzlro6hvdn"); // clist_t list;
1595 UNSUPPORTED("2yst7zq83i4vw7r2zd3r3obg8"); // clist_t* clist;
1596 UNSUPPORTED("7uhikpp332vk10cbtpsbobb3w"); // if (pclist == NULL) {
1597 UNSUPPORTED("1kigmw3i0vf7adlel77srggyr"); // clist = &list;
1598 UNSUPPORTED("7q1y8ow8ah030fwaax0yka8dy"); // initCList(clist);
1599 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1600 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1601 UNSUPPORTED("2q6kb44buc8u4fiiy6rp8mde0"); // clist = pclist;
1602 UNSUPPORTED("8us9duq9qebqx3gvmv2fhsz0s"); // for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg))
1603 UNSUPPORTED("98gvqspn5y1bfyr14rwoaqk67"); // {
1604 UNSUPPORTED("6wyv62qz1rfx3aa2yjoud4bb7"); // if (!strncmp(agnameof(subg), "cluster", 7)) {
1605 UNSUPPORTED("20b6qijqfhqydfwqqvyon57vd"); // agbindrec(subg, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0));
1606 UNSUPPORTED("p26065ja2s9vjrvvkxphqak"); // GD_alg(subg) = (void *) (gdata*)zmalloc(sizeof(gdata)); /* freed in cleanup_subgs */
1607 UNSUPPORTED("3qq65xelnxow982faji3nenpa"); // GD_ndim(subg) = GD_ndim(parent);
1608 UNSUPPORTED("3qr6sbufeim9aivvukgupx9a3"); // (((gdata*)(GD_alg(subg)))->level) = (((gdata*)(GD_alg(parent)))->level) + 1;
1609 UNSUPPORTED("dzlcmy7mlo7g4wu0zvt1l1sv"); // (((gdata*)(GD_alg(subg)))->parent) = parent;
1610 UNSUPPORTED("bm1io3f9athvso30b940cla38"); // addCluster(clist, subg);
1611 UNSUPPORTED("dz15beivtnurizqg4yb0m8rr9"); // mkClusters(subg, NULL, subg);
1612 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1613 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1614 UNSUPPORTED("ddr2v8k95yipuuxr863ke1923"); // mkClusters(subg, clist, parent);
1615 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1616 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1617 UNSUPPORTED("7uhikpp332vk10cbtpsbobb3w"); // if (pclist == NULL) {
1618 UNSUPPORTED("bqzv2ql6ssjrc7lsmutbooo9n"); // GD_n_cluster(g) = list.cnt;
1619 UNSUPPORTED("bsoxsryrl38t4p726ewlt8yr1"); // if (list.cnt)
1620 UNSUPPORTED("872193cmr79m1328w6lutgco7"); // GD_clust(g) = RALLOC(list.cnt + 1, list.cl, graph_t*);
1621 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1622 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1623
1624 throw new UnsupportedOperationException();
1625 }
1626
1627
1628
1629
1630 //3 7oqb0h6e96vm35r62xv92siyl
1631 // void fdp_init_graph(Agraph_t * g)
1632 public static Object fdp_init_graph(Object... arg) {
1633 UNSUPPORTED("621hzpi43swuc9vu12w0otup0"); // void fdp_init_graph(Agraph_t * g)
1634 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1635 UNSUPPORTED("6vmhwvwf0v01vufgz8qcmh7jb"); // setEdgeType (g, (1 << 1));
1636 UNSUPPORTED("3tux5uqf6wyphewj4a0h8vq7s"); // GD_alg(g) = (void *) (gdata*)zmalloc(sizeof(gdata)); /* freed in cleanup_graph */
1637 UNSUPPORTED("11cpzbmfepql0mlmxdvdo8quh"); // GD_ndim(g) = late_int(g, agattr(g,AGRAPH, "dim", NULL), 2, 2);
1638 UNSUPPORTED("5hw8vplqatvcs4dw99m6zzbbk"); // Ndim = GD_ndim(g) = MIN(GD_ndim(g), 10);
1639 UNSUPPORTED("amlqsqhvjj73xf83yl2mywxer"); // mkClusters (g, NULL, g);
1640 UNSUPPORTED("8tbconrtghd0w4280y1tkzkvx"); // fdp_initParams(g);
1641 UNSUPPORTED("33lin92n8p2oh85qu0o1hqfcd"); // fdp_init_node_edge(g);
1642 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1643
1644 throw new UnsupportedOperationException();
1645 }
1646
1647
1648
1649
1650 //3 1hxcjip1yvpy0vhiewttmat3j
1651 // void fdpLayout(graph_t * g)
1652 public static Object fdpLayout(Object... arg) {
1653 UNSUPPORTED("5ru9qe1nkqhsen6gakyhzl1ng"); // void fdpLayout(graph_t * g)
1654 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1655 UNSUPPORTED("3jv589is1bq9fpn36dwhl6isb"); // layout_info info;
1656 UNSUPPORTED("anrb4m1f1yn0xk25k5mc990zu"); // init_info(g, &info);
1657 UNSUPPORTED("3upqmz8ajc4vakmhu805h1nid"); // layout(g, &info);
1658 UNSUPPORTED("2e4rkfcememj12fx7tqwo25cy"); // setClustNodes(g);
1659 UNSUPPORTED("8lkjllp8rvxmyhf0fjdcgql3g"); // evalPositions(g,g);
1660 UNSUPPORTED("2yd4d5risg5xlhmke0mny96lg"); // /* Set bbox info for g and all clusters. This is needed for
1661 UNSUPPORTED("7so57s6gz0qrbj48s1eakmyr5"); // * spline drawing. We already know the graph bbox is at the origin.
1662 UNSUPPORTED("3my4yyass50pbs1pq6igaklqg"); // * On return from spline drawing, all bounding boxes should be correct.
1663 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1664 UNSUPPORTED("6n08gtkj0lfkzg6sfp4v5uv33"); // setBB(g);
1665 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1666
1667 throw new UnsupportedOperationException();
1668 }
1669
1670
1671
1672
1673 //3 9zkwo8rvwdaqntt5ydgovptz9
1674 // static void fdpSplines (graph_t * g)
1675 public static Object fdpSplines(Object... arg) {
1676 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1677 UNSUPPORTED("ahpw08he4of3u3skdihhfb5m1"); // fdpSplines (graph_t * g)
1678 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1679 UNSUPPORTED("61qimfo86uhktkmgc2eifmw44"); // int trySplines = 0;
1680 UNSUPPORTED("cx1drb9eui5nioe70lvmlgm79"); // int et = (GD_flags(g) & (7 << 1));
1681 UNSUPPORTED("d2c1pvg1dcyjaomjapjw58o8k"); // if (et != (1 << 1)) {
1682 UNSUPPORTED("c7ki4bp5938htpzwurqejskt2"); // if (et == (6 << 1)) {
1683 UNSUPPORTED("7x5gv7elnffza5po9q275o72c"); // trySplines = splineEdges(g, compoundEdges, (5 << 1));
1684 UNSUPPORTED("7afs76n061qxddl4wd0mx7syj"); // /* When doing the edges again, accept edges done by compoundEdges */
1685 UNSUPPORTED("28gf4qun1djy3on0kdkalq4wd"); // if (trySplines)
1686 UNSUPPORTED("f2wu54s3ntexz8vxnbbybck31"); // Nop = 2;
1687 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1688 UNSUPPORTED("5iqpclxiba6in78dwhhfrkh7j"); // if (trySplines || (et != (6 << 1))) {
1689 UNSUPPORTED("3qn4hkiudvmupsge77wfj3h3w"); // if ((GD_flags(g) & 1)) {
1690 UNSUPPORTED("5l8jenkv77ax02t47zzxyv1k0"); // agerr(AGWARN,
1691 UNSUPPORTED("71igsnumhcmopapvl2ht62nhw"); // "splines and cluster edges not supported - using line segments\n");
1692 UNSUPPORTED("175pyfe8j8mbhdwvrbx3gmew9"); // } else {
1693 UNSUPPORTED("bckhi2az2g64mgp2okezfc8cm"); // spline_edges1(g, et);
1694 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1695 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1696 UNSUPPORTED("44lb25xxc9dc38to4r88d3e7i"); // Nop = 0;
1697 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1698 UNSUPPORTED("edduytjcanjblib6cohib6vvl"); // if (State < 1)
1699 UNSUPPORTED("5g20bnuugvhmfkeu6mwq9admo"); // spline_edges1(g, (1 << 1));
1700 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1701
1702 throw new UnsupportedOperationException();
1703 }
1704
1705
1706
1707
1708 //3 f3fkbzm2by9n9gfyca5lm4mzf
1709 // void fdp_layout(graph_t * g)
1710 public static Object fdp_layout(Object... arg) {
1711 UNSUPPORTED("a64yhnsx9rfi5rarfg5ajgxvx"); // void fdp_layout(graph_t * g)
1712 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1713 UNSUPPORTED("1por4locm3w6858i1hecz1ua5"); // /* Agnode_t* n; */
1714 UNSUPPORTED("6n1wvk34us0rs8w6bpl2j60jb"); // double save_scale = PSinputscale;
1715 UNSUPPORTED("3pp4o4xb7kzgf0eutciesk63j"); // PSinputscale = get_inputscale (g);
1716 UNSUPPORTED("d3r3xu1e0xm8eldryvatkn73d"); // fdp_init_graph(g);
1717 UNSUPPORTED("ci9r8sj8tbc6yer5c8cebb0cm"); // if (setjmp(jbuf)) {
1718 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
1719 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1720 UNSUPPORTED("ewx6xn7zd488a9txulkv17tcd"); // fdpLayout(g);
1721 UNSUPPORTED("8gq1pwiarmm40a109fontod36"); // neato_set_aspect(g);
1722 UNSUPPORTED("6ea8nkfyo4o4tnrlq1fr5lk19"); // if ((GD_flags(g) & (7 << 1)) != (0 << 1)) fdpSplines (g);
1723 UNSUPPORTED("dlehwmfi69wv6xm8yxld35dtj"); // gv_postprocess(g, 0);
1724 UNSUPPORTED("cfv32gj5wy5tzsqp22byr9tbf"); // PSinputscale = save_scale;
1725 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1726
1727 throw new UnsupportedOperationException();
1728 }
1729
1730
1731 }