From 42f5906743f76e780cc6b8ffd9b5d0702ed2d65b Mon Sep 17 00:00:00 2001 From: Georg Gentzen Date: Fri, 17 Jul 2020 17:40:07 +0200 Subject: [PATCH] filePosition: fixed wrong call to attributes for dot edges --- output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.go b/output.go index b11d7de..e1729e8 100644 --- a/output.go +++ b/output.go @@ -381,7 +381,7 @@ func printOutput( // omit duplicate calls, except for tooltip enhancements key := fmt.Sprintf("%s = %s => %s", caller.Func, edge.Description(), callee.Func) if _, ok := edgeMap[key]; !ok { - edgeMap[key].Attrs["tooltip"] = fileEdge + attrs["tooltip"] = fileEdge e := &dotEdge{ From: callerNode, To: calleeNode,