From 5c80e8f006e71c4d19331bd407c06e3dd7879676 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Sun, 18 Dec 2016 00:04:18 -0500 Subject: [PATCH] fix tred2 --- cmd/tools/tred2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/tools/tred2.c b/cmd/tools/tred2.c index 4a9a16f8d..088a48bd0 100644 --- a/cmd/tools/tred2.c +++ b/cmd/tools/tred2.c @@ -92,8 +92,12 @@ int main(int argc, char **argv) newIngraph(&ig, Files, gread); while ((g = nextGraph(&ig)) != 0) { - if (agisdirected(g)) + if (agisdirected(g)) { + aginit(g, AGNODE, "info", sizeof(Agnodeinfo_t), TRUE); gvToolTred(g); + agwrite(g, stdout); + fflush(stdout); + } agclose(g); } -- 2.40.0