G_ordering = attr_state->G_ordering;
State = attr_state->State;
- free (attr_state);
dot_cleanup(g);
agclose(g);
}
double midx, midy, leftx, rightx;
pointf del;
edge_t* hvye = NULL;
- attr_state_t* attrs;
static int warned;
tn = agtail(e0), hn = aghead(e0);
return;
}
- attrs = gv_alloc(sizeof(attr_state_t));
- auxg = cloneGraph (g, attrs);
+ attr_state_t attrs = {0};
+ auxg = cloneGraph(g, &attrs);
subg = agsubg (auxg, "xxx",1);
agbindrec(subg, "Agraphinfo_t", sizeof(Agraphinfo_t), true);
agset (subg, "rank", "source");
}
}
- cleanupCloneGraph (auxg, attrs);
+ cleanupCloneGraph(auxg, &attrs);
}
/* makeFlatEnd;