From e4f11f137d76fc4801a2071624180fab5bc353e1 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 23 Jan 2017 22:17:10 -0500 Subject: [PATCH] Slightly increase the size of unconnected endpoints (closes #3775) --- modules/svg/vertices.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/svg/vertices.js b/modules/svg/vertices.js index 751ee9ad7..bd332abb5 100644 --- a/modules/svg/vertices.js +++ b/modules/svg/vertices.js @@ -76,6 +76,12 @@ export function svgVertices(projection, context) { var i = z && icon(entity), c = i ? 0.5 : 0, r = rads[i ? 3 : z]; + + // slightly increase the size of unconnected endpoints #3775 + if (entity.isEndpoint(graph) && !graph.isShared(entity)) { + r += 1.5; + } + this.setAttribute('cx', c); this.setAttribute('cy', -c); this.setAttribute('r', r);