/* ========================================================================
 * PlantUML : a free UML diagram generator
 * ========================================================================
 *
 * Project Info:  http://plantuml.com
 * 
 * If you like this project or if you find it useful, you can support us at:
 * 
 * http://plantuml.com/patreon (only 1$ per month!)
 * http://plantuml.com/paypal
 * 
 * This file is part of Smetana.
 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
 *
 * (C) Copyright 2009-2020, Arnaud Roques
 *
 * This translation is distributed under the same Licence as the original C program:
 * 
 *************************************************************************
 * Copyright (c) 2011 AT&T Intellectual Property 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors: See CVS logs. Details at http://www.graphviz.org/
 *************************************************************************
 *
 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
 * 
 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
 * 
 * You may obtain a copy of the License at
 * 
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package gen.lib.cgraph;
import static smetana.core.Macro.UNSUPPORTED;

public class cmpnd__c {
//1 9k44uhd5foylaeoekf3llonjq
// extern Dtmethod_t* 	Dtset


//1 1ahfywsmzcpcig2oxm7pt9ihj
// extern Dtmethod_t* 	Dtbag


//1 anhghfj3k7dmkudy2n7rvt31v
// extern Dtmethod_t* 	Dtoset


//1 5l6oj1ux946zjwvir94ykejbc
// extern Dtmethod_t* 	Dtobag


//1 2wtf222ak6cui8cfjnw6w377z
// extern Dtmethod_t*	Dtlist


//1 d1s1s6ibtcsmst88e3057u9r7
// extern Dtmethod_t*	Dtstack


//1 axa7mflo824p6fspjn1rdk0mt
// extern Dtmethod_t*	Dtqueue


//1 ega812utobm4xx9oa9w9ayij6
// extern Dtmethod_t*	Dtdeque


//1 cyfr996ur43045jv1tjbelzmj
// extern Dtmethod_t*	Dtorder


//1 wlofoiftbjgrrabzb2brkycg
// extern Dtmethod_t*	Dttree


//1 12bds94t7voj7ulwpcvgf6agr
// extern Dtmethod_t*	Dthash


//1 9lqknzty480cy7zsubmabkk8h
// extern Dtmethod_t	_Dttree


//1 bvn6zkbcp8vjdhkccqo1xrkrb
// extern Dtmethod_t	_Dthash


//1 9lidhtd6nsmmv3e7vjv9e10gw
// extern Dtmethod_t	_Dtlist


//1 34ujfamjxo7xn89u90oh2k6f8
// extern Dtmethod_t	_Dtqueue


//1 3jy4aceckzkdv950h89p4wjc8
// extern Dtmethod_t	_Dtstack


//1 8dfqgf3u1v830qzcjqh9o8ha7
// extern Agmemdisc_t AgMemDisc


//1 18k2oh2t6llfsdc5x0wlcnby8
// extern Agiddisc_t AgIdDisc


//1 a4r7hi80gdxtsv4hdoqpyiivn
// extern Agiodisc_t AgIoDisc


//1 bnzt5syjb7mgeru19114vd6xx
// extern Agdisc_t AgDefaultDisc


//1 35y2gbegsdjilegaribes00mg
// extern Agdesc_t Agdirected, Agstrictdirected, Agundirected,     Agstrictundirected


//1 c2rygslq6bcuka3awmvy2b3ow
// typedef Agsubnode_t	Agnoderef_t


//1 xam6yv0dcsx57dtg44igpbzn
// typedef Dtlink_t	Agedgeref_t


//1 6ayavpu39aihwyojkx093pcy3
// extern Agraph_t *Ag_G_global


//1 871mxtg9l6ffpxdl9kniwusf7
// extern char *AgDataRecName


//1 c0o2kmml0tn6hftuwo0u4shwd
// extern Dtdisc_t Ag_subnode_id_disc


//1 8k15pyu256unm2kpd9zf5pf7k
// extern Dtdisc_t Ag_subnode_seq_disc


//1 e3d820y06gpeusn6atgmj8bzd
// extern Dtdisc_t Ag_mainedge_id_disc


//1 cbr0772spix9h1aw7h5v7dv9j
// extern Dtdisc_t Ag_subedge_id_disc


//1 akd0c3v0j7m2npxcb9acit1fa
// extern Dtdisc_t Ag_mainedge_seq_disc


//1 12d8la07351ww7vwfzucjst8m
// extern Dtdisc_t Ag_subedge_seq_disc


//1 29eokk7v88e62g8o6lizmo967
// extern Dtdisc_t Ag_subgraph_id_disc


//1 4xd9cbgy6hk5g6nhjcbpzkx14
// extern Agcbdisc_t AgAttrdisc


//1 6sk0fkh49yyiz78kjyeyji8kc
// static char Descriptor_id[] = 




//3 4rwqki94tjjugk2oy6kmp9538
// static save_stack_t *save_stack_of(Agedge_t * e, 				   Agnode_t * node_being_saved) 
public static Object save_stack_of(Object... arg) {
UNSUPPORTED("dwtd4ghruns6yb5wivsktmicy"); // static save_stack_t *save_stack_of(Agedge_t * e,
UNSUPPORTED("8r63y462x0ogz32e14ocmtc7z"); // 				   Agnode_t * node_being_saved)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("6ghvyg27wq05jvjsvouudi50c"); //     Agcmpedge_t *edgerec;
UNSUPPORTED("b1mh0xog6n5vpukibyv7u250j"); //     edgerec =
UNSUPPORTED("4adx48ujfm4pgwe84r22aveam"); // 	(Agcmpedge_t *) agbindrec(e, Descriptor_id, sizeof(*edgerec),
UNSUPPORTED("68qk8aanfr03birvp6in33tmn"); // 				  (0));
UNSUPPORTED("4wdjl8d0e9alxikx2venvybyt"); //     if (node_being_saved == AGHEAD(e))
UNSUPPORTED("5or0zebpgtvozlmal8j2q1ymh"); // 	i = 0;
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("ab64ie0vu9mgaoae2os5qcjjc"); // 	i = 1;
UNSUPPORTED("aa7o5hl19ogzcf6gfenmnp78g"); //     return &(edgerec->stack[i]);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 bsses08e1nxxzo7v1nz6e5md6
// static void stackpush(save_stack_t * stk, Agnode_t * from, Agnode_t * to) 
public static Object stackpush(Object... arg) {
UNSUPPORTED("lk08htngq4befknew1gfxoa9"); // static void stackpush(save_stack_t * stk, Agnode_t * from, Agnode_t * to)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("vdr4szogxxo3ysb964je8fqr"); //     int i, osize, nsize;
UNSUPPORTED("w0ejuypc1xk0nguosbcbgjs7"); //     osize = (stk->stacksize) * sizeof(stk->mem);
UNSUPPORTED("69vqrnfe69qiqljcpvbqzjhrt"); //     i = stk->stacksize++;
UNSUPPORTED("bp2iadkg384j7lqq7aojwgfdb"); //     nsize = (stk->stacksize) * sizeof(stk->mem);
UNSUPPORTED("8hkinct5qb2wnkfquvrbe5w5n"); //     stk->mem = agrealloc(agraphof(from), stk->mem, osize, nsize);
UNSUPPORTED("ede5rkve4x0iqpkclios2jmi6"); //     stk->mem[i].from = from;
UNSUPPORTED("1273u57z8yxvq24utrwrv8xau"); //     stk->mem[i].to = to;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3bdssdhs8qmao1r28n4x05wla
// static save_e_t stacktop(save_stack_t * stk) 
public static Object stacktop(Object... arg) {
UNSUPPORTED("3oi8j1tra0jhtoedy30z1dceg"); // static save_e_t stacktop(save_stack_t * stk)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("ceexozbsr12777awy1hzvd6ye"); //     save_e_t rv;
UNSUPPORTED("4i89irm9nu2qq9e5my0oyqw92"); //     if (stk->stacksize > 0)
UNSUPPORTED("muntii5uysvchbl8serzwm6q"); // 	rv = stk->mem[stk->stacksize - 1];
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("7iqu564wmk0151evpn81bi4al"); // 	rv.from = rv.to = ((Agnode_t*)0);
UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); //     return rv;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 egn9apfhc7c3wd684jp5des9n
// static save_e_t stackpop(save_stack_t * stk) 
public static Object stackpop(Object... arg) {
UNSUPPORTED("6bswtdhkkqef505cf56ngupax"); // static save_e_t stackpop(save_stack_t * stk)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("ceexozbsr12777awy1hzvd6ye"); //     save_e_t rv;
UNSUPPORTED("dq2r0ep189x1fmzlkrupwz7su"); //     rv = stacktop(stk);
UNSUPPORTED("4i89irm9nu2qq9e5my0oyqw92"); //     if (stk->stacksize > 0)
UNSUPPORTED("a754migqjxf0orir9je0hpzru"); // 	stk->stacksize--;
UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); //     return rv;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 19fmhewiyatxc021gdknul20f
// static void splice(Agobj_t * obj, void *arg) 
public static Object splice(Object... arg) {
UNSUPPORTED("7wcsyoha9usni3nl1ai3tc3o7"); // static void splice(Agobj_t * obj, void *arg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("ukg32u37iiyg1hjpo3dju9dq"); //     Agedge_t *e, *opp;
UNSUPPORTED("dlkppm92zbj77gjcpefjxfgd8"); //     Agnode_t *target, *t, *h;
UNSUPPORTED("eub815wyz9gy5rrouxzf2o1g1"); //     Agedge_t **dict_of_del, **dict_of_ins, **dict_of_relabel;
UNSUPPORTED("4dutqsf49i6w169yrt0ikwdso"); //     Agsplice_arg_t *spl;
UNSUPPORTED("8g1zmagr94kv2f6q5qxprrtqf"); //     e = (Agedge_t *) obj;
UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); //     g = agraphof(e);
UNSUPPORTED("5webprz21nzifr3m5zwnqxx6m"); //     t = AGTAIL(e);
UNSUPPORTED("ax8363bkxphvbre4n21ewb568"); //     h = AGHEAD(e);
UNSUPPORTED("884w4fs279f033u4kxa8xious"); //     opp = AGOPP(e);
UNSUPPORTED("bpxhfa46ntshzd0vqkqeoby5s"); //     spl = arg;
UNSUPPORTED("6m7avwuqg2ht4f1aihu7uemex"); //     target = spl->target;
UNSUPPORTED("2hpfw7zzxdd4qgijc1r9yjv1j"); //     /* set e to variant side, opp to invariant */
UNSUPPORTED("5kqugw221oxim0s4luf2bbx60"); //     if ((e->node == h) != spl->head_side) {
UNSUPPORTED("8ulbtgatav4cex07ca2vunsq7"); // 	Agedge_t *t = e;
UNSUPPORTED("5z8q89g66clummdq5apxn1lhf"); // 	e = opp;
UNSUPPORTED("aj4xhgtcpcpsmtrs5shi25qly"); // 	opp = t;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("dck6ar35hgorgugfjnx6bdi4h"); //     if (spl->head_side) {
UNSUPPORTED("7n0bzvgpc2xrp8zucytk2ub8z"); // 	dict_of_relabel = &(t->out);
UNSUPPORTED("exrixiraze7t936j9gozi1i6"); // 	dict_of_del = &(h->in);
UNSUPPORTED("cs1b4s5rzgvma08gnlw4kyi8a"); // 	dict_of_ins = &(target->in);
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("9e37n1vt84uzrvxns8gkkpjrk"); // 	dict_of_relabel = &(h->in);
UNSUPPORTED("dni9pi1ymdj2dx3kpudxdvex7"); // 	dict_of_del = &(t->out);
UNSUPPORTED("3gw0vo5ns6u7r6c78h5i3fz8k"); // 	dict_of_ins = &(target->out);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("37tcvzpvyyi059h8kb294u1pw"); //     agdeledgeimage(g, dict_of_del, opp);
UNSUPPORTED("sbztl4163kwplex2051tj6kv"); //     agdeledgeimage(g, dict_of_relabel, e);
UNSUPPORTED("du0ylmc796qj4u7fpfcs9h29b"); //     e->node = target;
UNSUPPORTED("9frvpqh10msxmvvwlkkmplmnb"); //     aginsedgeimage(g, dict_of_ins, opp);
UNSUPPORTED("dqp4p3m2uqtll7k5qy0xfc5sn"); //     aginsedgeimage(g, dict_of_relabel, e);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5j5g1wthbifddy3p9spuns8yr
// int agsplice(Agedge_t * e, Agnode_t * target) 
public static Object agsplice(Object... arg) {
UNSUPPORTED("axfzz9idalyza2vcuc3lxpm6"); // int agsplice(Agedge_t * e, Agnode_t * target)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4ybt6tm56tubmbuve8lp6rxhh"); //     Agnode_t *t, *h;
UNSUPPORTED("bdxq0k3myan9ze5fn881cmpd1"); //     Agraph_t *g, *root;
UNSUPPORTED("bil8jirl3ujy07bddvn7fu2tj"); //     Agsplice_arg_t splice_arg;
UNSUPPORTED("7tj8suoel784v4amwdbw5vgo0"); //     if ((e == ((Agedge_t*)0)) || (e->node == target))
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // 	return -1;
UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); //     g = agraphof(e);
UNSUPPORTED("5webprz21nzifr3m5zwnqxx6m"); //     t = AGTAIL(e);
UNSUPPORTED("ax8363bkxphvbre4n21ewb568"); //     h = AGHEAD(e);
UNSUPPORTED("dki2ntsgjodo47i5gijolwk9l"); //     splice_arg.head_side = (e->node == h);
UNSUPPORTED("5c8hd46y7z4m71nncma6imi91"); //     splice_arg.target = target;
UNSUPPORTED("bnybowlbrgjx7x160vaxt6eok"); //     root = agroot(g);
UNSUPPORTED("dezciasi2v303hk1sw0x8sdgu"); //     agapply(root, (Agobj_t *) e, splice, &splice_arg, (!(0)));
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 1tlq3bzvd3l8vgfzqblufnrbl
// Agnode_t *agcmpnode(Agraph_t * g, char *name) 
public static Object agcmpnode(Object... arg) {
UNSUPPORTED("512bqm8afn34qet92ucsr48py"); // Agnode_t *agcmpnode(Agraph_t * g, char *name)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); //     Agnode_t *n;
UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); //     Agraph_t *subg;
UNSUPPORTED("65blkwcubnuk73fdazfmejbit"); //     n = agnode(g, name, (!(0)));
UNSUPPORTED("9tklhmm0c204xvppkor6fa27j"); //     subg = agsubg(g, name);
UNSUPPORTED("3f30xv09zuxursa8mirbicrop"); //     if (n && g && agassociate(n, subg))
UNSUPPORTED("bp96fem54xcxrw16cmnlpell9"); // 	return n;
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("afujljwagn2n2w7aqkq94dyud"); // 	return ((Agnode_t*)0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 55kt0ymvf8xwytjl27ldl9w47
// int agassociate(Agnode_t * n, Agraph_t * sub) 
public static Object agassociate(Object... arg) {
UNSUPPORTED("4sypdgvq8ag9maceg6t7ybgh2"); // int agassociate(Agnode_t * n, Agraph_t * sub)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7f909qn3eh0n5jhwbdss7xsl7"); //     Agcmpnode_t *noderec;
UNSUPPORTED("7jdwhjw5hagvavcg0s7mzyvtw"); //     Agcmpgraph_t *graphrec;
UNSUPPORTED("a2s3hoak57qxwo7p26uwtl6tw"); //     if (agsubnode(sub, n, (0)))
UNSUPPORTED("5ul223252n4s0i9q8gmv7sqkr"); // 	return -1;		/* avoid cycles */
UNSUPPORTED("2n0hbg501gaoso2zqjoe2w7m1"); //     noderec = agbindrec(n, Descriptor_id, sizeof(*noderec), (0));
UNSUPPORTED("28wqx7jtqdh2nga91wmk9v4pp"); //     graphrec = agbindrec(sub, Descriptor_id, sizeof(*graphrec), (0));
UNSUPPORTED("yhgoyzhuwjezwcawsm4ky6zq"); //     if (noderec->subg || graphrec->node)
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // 	return -1;
UNSUPPORTED("5m09ilomtgcifokk2saj5p7n6"); //     noderec->subg = sub;
UNSUPPORTED("284nqmn0r6jg3l13sp1j66tdn"); //     graphrec->node = n;
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 b07pin7xj9eofda53ydvki64l
// static void delete_outside_subg(Agraph_t * g, Agnode_t * node, 				Agraph_t * subg) 
public static Object delete_outside_subg(Object... arg) {
UNSUPPORTED("kry3yfo20dytuxfnf38kcsam"); // static void delete_outside_subg(Agraph_t * g, Agnode_t * node,
UNSUPPORTED("5y3h6zj5vt2f7wcth5pip26cj"); // 				Agraph_t * subg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6g19oav62phxzmj2to9fq3v1x"); //     Agraph_t *s, **subglist;
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); //     Agnode_t *n;
UNSUPPORTED("7jdwhjw5hagvavcg0s7mzyvtw"); //     Agcmpgraph_t *graphrec;
UNSUPPORTED("l4y6zpshfefue2m18wlswfkp"); //     Dict_t *d;
UNSUPPORTED("7e89xw954lv4akbipty68ohbe"); //     if ((g != subg) && (n = agsubnode(g, (Agnode_t *) node, (0)))) {
UNSUPPORTED("1rogfljh6p2ad5nst1eypwpyi"); // 	(*(((Dt_t*)(g->n_dict))->searchf))((g->n_dict),(void*)(n),0000002);
UNSUPPORTED("abe30iy9w3d0dl2w6a5lsop8v"); // 	graphrec = agbindrec(g, Descriptor_id, sizeof(*graphrec), (0));
UNSUPPORTED("f2oroo8l1jg4844ju7u0qqrvl"); // 	if ((d = graphrec->hidden_node_set) == ((Dict_t *)0)) {
UNSUPPORTED("exx0k792od5v3lta50a7cc7ex"); // 	    /* use name disc. to permit search for hidden node by name */
UNSUPPORTED("evqbx12s6gejd2x4ot3qp9mom"); // 	    d = graphrec->hidden_node_set
UNSUPPORTED("6sphuxp1saeruucoielhncdwi"); // 		= agdtopen(g, &Ag_node_name_disc, Dttree);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dc351e9qkjba5ljcn70ir8wok"); // 	(*(((Dt_t*)(d))->searchf))((d),(void*)(n),0000001);
UNSUPPORTED("b6earq4vdf6hkqbiof5ld8o0f"); // 	subglist = agsubglist(g);
UNSUPPORTED("1z7syfzy448v3csnwess0czr6"); // 	while ((s = *subglist++))
UNSUPPORTED("nec2jxb9w7x6umx24yslrcmt"); // 	    delete_outside_subg(s, node, subg);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ayp78uwr34sz0qhg1h8t95kwv
// int aghide(Agnode_t * cmpnode) 
public static Object aghide(Object... arg) {
UNSUPPORTED("1g3pfblqoo1dgglsxstj9742s"); // int aghide(Agnode_t * cmpnode)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7f909qn3eh0n5jhwbdss7xsl7"); //     Agcmpnode_t *noderec;
UNSUPPORTED("b60qtrkk2j4xw71fl5cofd2cf"); //     Agraph_t *g, *subg, *root;
UNSUPPORTED("emedv9iv9jzdkfi9un2n7u1qd"); //     Agnode_t *n, *nn, *rootn;
UNSUPPORTED("52m1c5blj9go84x3gvfinhsxk"); //     Agedge_t *e, *opp, *f;
UNSUPPORTED("ckh341j07p4zctbd8z88pmxjs"); //     g = agraphof(cmpnode);
UNSUPPORTED("6gex4hni6g4u0xtyjv48g3qo"); //     /* skip operation if node is not compound, or hidden */
UNSUPPORTED("ase6k94o0exmeya2beg8xxyrd"); //     if (agcmpgraph_of(cmpnode) == ((Agraph_t*)0))
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // 	return -1;
UNSUPPORTED("1ngod2ph1meu972df8l6bc2b"); //     noderec = (Agcmpnode_t *) aggetrec(cmpnode, Descriptor_id, (0));
UNSUPPORTED("4j153btiyrft10pvhp9s4o13l"); //     subg = noderec->subg;
UNSUPPORTED("bnybowlbrgjx7x160vaxt6eok"); //     root = agroot(g);
UNSUPPORTED("f2t4kmp1tlgz90kx88edbc1s8"); //     /* make sure caller hasn't put a node "inside itself" */
UNSUPPORTED("d02v8hdosfh8948mx4a51khy4"); //     if ((n = agsubnode(subg, cmpnode, (0))))
UNSUPPORTED("1kkhrgl1v3ojgulkhv2iho34m"); // 	agdelnode(n);
UNSUPPORTED("aj0mf64ekwjmvyu6kqgvi66vl"); //     /* remap edges by splicing and saving previous endpt */
UNSUPPORTED("58gpvx001o2jm2wb0zi9ykxhx"); //     for (n = agfstnode(subg); n; n = agnxtnode(n)) {
UNSUPPORTED("bdm41ygxu6ed5nfinjtmybqji"); // 	rootn = agsubnode(root, n, (0));
UNSUPPORTED("4q5u96f55k4ohv094om4hfom3"); // 	for (e = agfstedge(rootn); e; e = f) {
UNSUPPORTED("c3p50uvstq31yp3nng2ig715m"); // 	    f = agnxtedge(e, rootn);
UNSUPPORTED("bkc2enueo6t9l7kv1jolsetmh"); // 	    if (agsubedge(subg, e, (0)))
UNSUPPORTED("2hw2snx42pro7p7hsy05vln4r"); // 		continue;	/* an internal edge */
UNSUPPORTED("adb1bm65bqje5izc3vk2789io"); // 	    opp = AGOPP(e);
UNSUPPORTED("32kek6wlljhat9b0vfgu2j7vi"); // 	    stackpush(save_stack_of(e, rootn), rootn, cmpnode);
UNSUPPORTED("2qzlo72387x84q858f0813gkb"); // 	    agsplice(opp, cmpnode);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("f415ngsv513d31vpdchhs95kb"); //     /* hide nodes by deleting from the parent set.  what if they also
UNSUPPORTED("obzrdh816obcnhiv63ncejfj"); //        belong to a sibling subg?  weird. possible bug. */
UNSUPPORTED("4bd0uibjrx5ci9pbm9aoki6f5"); //     for (n = agfstnode(subg); n; n = nn) {
UNSUPPORTED("4l4330kwixp6e6vgyiy54ys17"); // 	nn = agnxtnode(n);
UNSUPPORTED("kb51l7sewmn750p94rd43kg6"); // 	delete_outside_subg(root, n, subg);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("394ntxheuereknfzn3ztogs6r"); //     /* hide subgraph is easy */
UNSUPPORTED("257s639mo6gp7eaozszsh1o7w"); //     agdelsubg(agparent(subg), subg);
UNSUPPORTED("6abloarv1gy1qzd7xxpla0dyf"); //     noderec->collapsed = (!(0));
UNSUPPORTED("4kztab9wrg1e4rhrix10drw0d"); //     g->desc.has_cmpnd = (!(0));
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 1gb6h0a1ld4kfxblxauozwl1n
// static void insert_outside_subg(Agraph_t * g, Agnode_t * node, 				Agraph_t * subg) 
public static Object insert_outside_subg(Object... arg) {
UNSUPPORTED("76ij8hacl890v9sivg40zvbig"); // static void insert_outside_subg(Agraph_t * g, Agnode_t * node,
UNSUPPORTED("5y3h6zj5vt2f7wcth5pip26cj"); // 				Agraph_t * subg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6g19oav62phxzmj2to9fq3v1x"); //     Agraph_t *s, **subglist;
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); //     Agnode_t *n;
UNSUPPORTED("7jdwhjw5hagvavcg0s7mzyvtw"); //     Agcmpgraph_t *graphrec;
UNSUPPORTED("ckdhxacpy31hkxoiusj63w0s0"); //     if ((g != subg)
UNSUPPORTED("8swye54gpwwju751wheaso218"); // 	&& ((n = agsubnode(g, (Agnode_t *) node, (0))) == ((Agnode_t*)0))) {
UNSUPPORTED("dmahb56s8q8b4hcc3f5pvwham"); // 	graphrec = (Agcmpgraph_t *) aggetrec(g, Descriptor_id, (0));
UNSUPPORTED("lxl9n15bjuho7s84h5mnrfjh"); // 	if (graphrec
UNSUPPORTED("2rld3bcrvvoa3aqorq9on3kof"); // 	    &&
UNSUPPORTED("336e61s13ex1sqjdcjpvk13qs"); // 	    ((n = (Agnode_t *) (*(((Dt_t*)(graphrec->hidden_node_set))->searchf))((graphrec->hidden_node_set),(void*)(node),0000004))))
UNSUPPORTED("2ermrtom5lyizwkjyyw8ubiij"); // 	    (*(((Dt_t*)(g->n_dict))->searchf))((g->n_dict),(void*)(n),0000001);
UNSUPPORTED("b6earq4vdf6hkqbiof5ld8o0f"); // 	subglist = agsubglist(g);
UNSUPPORTED("1z7syfzy448v3csnwess0czr6"); // 	while ((s = *subglist++))
UNSUPPORTED("nec2jxb9w7x6umx24yslrcmt"); // 	    delete_outside_subg(s, node, subg);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 6lc402jyd31q9vuhqstq3cipf
// int agexpose(Agnode_t * cmpnode) 
public static Object agexpose(Object... arg) {
UNSUPPORTED("9apmbol4kwi7nzggmvu74lu8"); // int agexpose(Agnode_t * cmpnode)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7f909qn3eh0n5jhwbdss7xsl7"); //     Agcmpnode_t *noderec;
UNSUPPORTED("6ghvyg27wq05jvjsvouudi50c"); //     Agcmpedge_t *edgerec;
UNSUPPORTED("b60qtrkk2j4xw71fl5cofd2cf"); //     Agraph_t *g, *subg, *root;
UNSUPPORTED("don2z7bcidp3vh6u93uqylp6n"); //     Agnode_t *n, *rootcmp;
UNSUPPORTED("109gqpvjmuv5lwcih97x4uwqa"); //     Agedge_t *e, *f;
UNSUPPORTED("ac4ommdery6vqxemsczpw45pd"); //     save_stack_t *stk;
UNSUPPORTED("8lv2gwgeyznnvkn2sc4qtmsgg"); //     save_e_t sav;
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("ckh341j07p4zctbd8z88pmxjs"); //     g = agraphof(cmpnode);
UNSUPPORTED("cn5g532viw6fnn9qwqgjrg8ut"); //     /* skip if this is not a collapsed subgraph */
UNSUPPORTED("1ngod2ph1meu972df8l6bc2b"); //     noderec = (Agcmpnode_t *) aggetrec(cmpnode, Descriptor_id, (0));
UNSUPPORTED("bqsicd41l9yomlip35oj8xesq"); //     if ((noderec == ((Agcmpnode_t *)0) || NOT(noderec->collapsed)))
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // 	return -1;
UNSUPPORTED("euy8jfjxkm1u0yrzwson87j19"); //     /* undo aghide (above) in reverse order.  first, expose subgraph */
UNSUPPORTED("4j153btiyrft10pvhp9s4o13l"); //     subg = noderec->subg;
UNSUPPORTED("1sf8vp9dtnivh92y8rh0t1z25"); //     agsubgrec_insert(agsubgrec(agparent(subg)), subg);
UNSUPPORTED("98brku3wzqlj4ollbjtvk6fa5"); //     /* re-insert nodes */
UNSUPPORTED("7nd099zwv098gk9rg5mpujtqi"); //     for (n = agfstnode(subg); n; n = agnxtnode(n))
UNSUPPORTED("40fhgczx2v7xf4fj52ixa2ae1"); // 	insert_outside_subg(g, n, subg);
UNSUPPORTED("q9tdqkpe3ypf3sokv2e9iunf"); //     /* re-splice the affected edges */
UNSUPPORTED("bnybowlbrgjx7x160vaxt6eok"); //     root = agroot(g);
UNSUPPORTED("lbob6dh3k9ofz0eq54n0bfrf"); //     rootcmp = agsubnode(root, cmpnode, (0));
UNSUPPORTED("6q870w22sh62rr3c3z713a08c"); //     for (e = agfstedge(rootcmp); e; e = f) {
UNSUPPORTED("4rk367peiayey75qn4p83rld9"); // 	f = agnxtedge(e, rootcmp);
UNSUPPORTED("azqu6v7o6ogppzcpc7r4j32te"); // 	if ((edgerec = (Agcmpedge_t *) aggetrec(e, Descriptor_id, (0)))) {
UNSUPPORTED("7q2kavn0hyciyjodmijsm5t72"); // 	    /* anything interesting on either stack? */
UNSUPPORTED("49iuc4atzdynskzobe6v2v6by"); // 	    for (i = 0; i < 2; i++) {
UNSUPPORTED("cst8yfaj50yiqi2c79ylx8ipu"); // 		stk = &(edgerec->stack[i]);
UNSUPPORTED("2jssfbw5q1ezanoj77xitfozx"); // 		sav = stacktop(stk);
UNSUPPORTED("8ws9njxg0op6x2fecfio25com"); // 		if (sav.to && (AGID(sav.to) == AGID(cmpnode))) {
UNSUPPORTED("ck3uwtfxhqv714xrb3sros513"); // 		    if (e->node != sav.to)
UNSUPPORTED("50lxrd15vtq2bqijmn3bb0s3d"); // 			e = AGOPP(e);
UNSUPPORTED("4xrkvbkbiluczhf7ohqwe2f7j"); // 		    agsplice(e, sav.from);
UNSUPPORTED("a2z237r7jaraa3h9fcoipnsoq"); // 		    stackpop(stk);
UNSUPPORTED("2yi9az7ibt7j9bwztjilyo0v2"); // 		    continue;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("6lipw6f0pqk6r03nvkb5cjdbq"); //     noderec->collapsed = (0);
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 aduq2oedmk7tixfq937xsx8uk
// Agraph_t *agcmpgraph_of(Agnode_t * n) 
public static Object agcmpgraph_of(Object... arg) {
UNSUPPORTED("96w163plg7m5fs459ya5s4eyr"); // Agraph_t *agcmpgraph_of(Agnode_t * n)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7f909qn3eh0n5jhwbdss7xsl7"); //     Agcmpnode_t *noderec;
UNSUPPORTED("bsxlpjgnoko6pxkt2w15vzjoc"); //     noderec = (Agcmpnode_t *) aggetrec(n, Descriptor_id, (0));
UNSUPPORTED("6xdbpq5pdwgfgmaekbtp5fvq2"); //     if (noderec && NOT(noderec->collapsed))
UNSUPPORTED("euroyfixydmzdwgwiv0f2pihb"); // 	return noderec->subg;
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("3jgcplzgc47d97c1hv6u71tpg"); // 	return ((Agraph_t*)0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5hzjwc4e1cfmit7v903028piu
// Agnode_t *agcmpnode_of(Agraph_t * g) 
public static Object agcmpnode_of(Object... arg) {
UNSUPPORTED("exxk55w9iak7ur9634a45037a"); // Agnode_t *agcmpnode_of(Agraph_t * g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7jdwhjw5hagvavcg0s7mzyvtw"); //     Agcmpgraph_t *graphrec;
UNSUPPORTED("9vifxckhgfio5f5ba0xie8roh"); //     graphrec = (Agcmpgraph_t *) aggetrec(g, Descriptor_id, (0));
UNSUPPORTED("aixy4qcuhk04x6qoq3y286w8k"); //     if (graphrec)
UNSUPPORTED("b6qkfex5h0152pzytdftlh9sb"); // 	return graphrec->node;
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("afujljwagn2n2w7aqkq94dyud"); // 	return ((Agnode_t*)0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 2yirbmqshfrzkjrbay3m6j4ep
// Agnode_t *agfindhidden(Agraph_t * g, char *name) 
public static Object agfindhidden(Object... arg) {
UNSUPPORTED("8cv8z2j9nan9aew6qpjmibk2t"); // Agnode_t *agfindhidden(Agraph_t * g, char *name)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7jdwhjw5hagvavcg0s7mzyvtw"); //     Agcmpgraph_t *graphrec;
UNSUPPORTED("6ccnq25sjyc3hlxdu7hxx8lic"); //     Agnode_t key;
UNSUPPORTED("9vifxckhgfio5f5ba0xie8roh"); //     graphrec = (Agcmpgraph_t *) aggetrec(g, Descriptor_id, (0));
UNSUPPORTED("anxj4l9dauyidns1gvnaacw6t"); //     if (graphrec) {
UNSUPPORTED("81vu48ydx08zss09rzp8ctgir"); // 	key.name = name;
UNSUPPORTED("2hneo0tj9jekolndce4nhpax2"); // 	return (Agnode_t *) (*(((Dt_t*)(graphrec->hidden_node_set))->searchf))((graphrec->hidden_node_set),(void*)(&key),0000004);
UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); //     } else
UNSUPPORTED("afujljwagn2n2w7aqkq94dyud"); // 	return ((Agnode_t*)0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


}
