From e465f9b1453e41b33f16c09b6fdc7117f670b9d6 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Thu, 8 Apr 2021 19:06:10 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/graph/graph.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/graph/graph.go b/modules/graph/graph.go index c49b5fcf..d300d0a9 100644 --- a/modules/graph/graph.go +++ b/modules/graph/graph.go @@ -203,6 +203,7 @@ func (g *Graph) Dot(filter, layout, name string, disconnected bool) (string, int return "", 0, 0, err } + /* data += "\n" data += "node [style=filled height=0.55 fontname=\"Verdana\" fontsize=10];\n" data += "subgraph legend {\n" + @@ -224,8 +225,8 @@ func (g *Graph) Dot(filter, layout, name string, disconnected bool) (string, int for i := 0; i < ntypes - 1; i++ { data += fmt.Sprintf(" \"%s\" -> \"%s\" [style=invis];\n", types[i], types[i + 1]) } - data += "}\n" + */ data += "\n" data += " overlap=false\n"