From 1147ac9251424949b317470b4006afa5ab2ce14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84min=20on=20ThinkPad?= Date: Fri, 12 May 2023 09:15:11 +0200 Subject: [PATCH] Label nodes with line number in the graph; This supresses a warning when packing graphs together with gvpack --- src/SOCgraphviz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SOCgraphviz.c b/src/SOCgraphviz.c index 2fb7e85..a34d808 100644 --- a/src/SOCgraphviz.c +++ b/src/SOCgraphviz.c @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) { case '0': case '1': if(ch=='1') - printf("%d->%d;", row,col); + printf("G%dN%d->G%dN%d;", line,row,line,col); col++; break; case '}':