diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 4a7132c..79442d8 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -584,6 +584,7 @@ define(["d3"], function (d3) { bctx.lineCap = "round" bctx.strokeStyle = "rgba(255, 255, 255, 0.8)" bctx.fillStyle = "rgba(0, 0, 0, 0.6)" + bctx.miterLimit = 2 bctx.strokeText(name, buffer.width / (2 * scale), buffer.height / (2 * scale)) bctx.fillText(name, buffer.width / (2 * scale), buffer.height / (2 * scale))