From 768065165f71717a44683b03e489268eb8a9b1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Fri, 19 Aug 2022 19:37:53 +0200 Subject: [PATCH] Reduce link arrow sizes. --- static/graph_explorer.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/graph_explorer.html b/static/graph_explorer.html index e7c68ce..abb6aee 100644 --- a/static/graph_explorer.html +++ b/static/graph_explorer.html @@ -86,15 +86,15 @@ function ForceGraph({ // Add arrowheads svg.append('defs').append('marker') .attr('id', 'arrowhead') - .attr('viewBox', '-0 -5 10 10') - .attr('refX', 13) + .attr('viewBox', '-0 -2.5 5 5') + .attr('refX', 10) .attr('refY', 0) .attr('orient', 'auto') - .attr('markerWidth', 13) - .attr('markerHeight', 13) + .attr('markerWidth', 7) + .attr('markerHeight', 7) .attr('xoverflow', 'visible') .append('svg:path') - .attr('d', 'M 0,-5 L 10 ,0 L 0,5') + .attr('d', 'M 0,-2.5 L 5 ,0 L 0,2.5') .attr('fill', '#999') .style('stroke','none');