Agedge_t* e;
int i, j;
char buf[1024], buf2[1024];
- Agsym_t *sym, *sym2 = NULL, *sym3 = NULL;
+ Agsym_t *sym2 = NULL, *sym3 = NULL;
int* ia=A->ia;
int* ja=A->ja;
real* val = (real*)(A->a);
label_string = strcat(label_string, " edges.");
- if (with_label) sym = agattr(g, AGRAPH, "label", label_string);
- sym = agattr(g, AGRAPH, "fontcolor", "#808090");
- if (with_color) sym = agattr(g, AGRAPH, "bgcolor", "black");
- sym = agattr(g, AGRAPH, "outputorder", "edgesfirst");
+ if (with_label) agattr(g, AGRAPH, "label", label_string);
+ agattr(g, AGRAPH, "fontcolor", "#808090");
+ if (with_color) agattr(g, AGRAPH, "bgcolor", "black");
+ agattr(g, AGRAPH, "outputorder", "edgesfirst");
if (A->m > 100) {
/* -Estyle=setlinewidth(0.0)' -Eheadclip=false -Etailclip=false -Nstyle=invis*/
Agraph_t *dg;
int nnodes;
- int nedges;
Agedge_t *ep, *e;
dg = agopen("test", g->desc, 0);
nnodes = agnnodes (g);
- nedges = agnedges (g);
ndmap = malloc(sizeof(Agnode_t *)*nnodes);