From a6920a1c1456f318062205f487d2d4e17c4b41a0 Mon Sep 17 00:00:00 2001 From: Sebastian Proost Date: Tue, 16 Jan 2018 07:07:23 +0100 Subject: [PATCH] SVG export increased stroke-width (to match graph) --- conekt/static/js/planet_svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conekt/static/js/planet_svg.js b/conekt/static/js/planet_svg.js index 036ec14..b4ce94d 100644 --- a/conekt/static/js/planet_svg.js +++ b/conekt/static/js/planet_svg.js @@ -114,7 +114,7 @@ function writeSVG(data) { text = node.data('name'); if (node.data('best_name') !== '') { text = node.data('best_name'); } - group.text({y:6, fill:"none", stroke:'#ffffff'}).content(text) + group.text({y:6, fill:"none", stroke:'#ffffff', stroke-width:"2"}).content(text) .attr('text-anchor', 'middle') .attr('font-family', 'sans-serif'); group.text({y:6, fill:"black"}).content(text)