AGATTRWF(g) = !(AGATTRWF(g));
}
-static void writeTrl(Agraph_t * g, FILE * gxlFile, int top)
-{
+static void writeTrl(Agraph_t *g, FILE *gxlFile, bool top) {
tabover(gxlFile);
fprintf(gxlFile, "</graph>\n");
Level--;
- if (!(top) && agparent(g)) {
+ if (!top && agparent(g)) {
tabover(gxlFile);
fprintf(gxlFile, "</node>\n");
Level--;
for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
writeHdr(stp, subg, gxlFile, false);
writeBody(stp, subg, gxlFile);
- writeTrl(subg, gxlFile, FALSE);
+ writeTrl(subg, gxlFile, false);
}
}
writeHdr(stp, g, gxlFile, true);
writeBody(stp, g, gxlFile);
- writeTrl(g, gxlFile, TRUE);
+ writeTrl(g, gxlFile, true);
fprintf(gxlFile, "</gxl>\n");