From 290bdf8e8a3cc639971b519adb8cb6a2126e1145 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 30 Oct 2021 20:32:49 -0700 Subject: [PATCH] addEdgeLabels: remove legacy comment Fudge factors are used elsewhere in splines.c, but not within this function. --- lib/common/splines.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/common/splines.c b/lib/common/splines.c index 167dde5b5..e9bd1b9ae 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -1342,8 +1342,6 @@ edgeMidpoint (graph_t* g, edge_t * e) /* addEdgeLabels: * rp and rq are the port points of the tail and head node. * Adds label, headlabel and taillabel. - * The use of 2 and 4 in computing ld.x and ld.y are fudge factors, to - * introduce a bit of spacing. * Updates bounding box. * We try to use the actual endpoints of the spline, as they may differ * significantly from rp and rq, but if the spline is degenerate (e.g., -- 2.40.0