From b73fbf9d3841315f6e5b398bee44a726bf0bd686 Mon Sep 17 00:00:00 2001 From: Ulric Wilfred Date: Sat, 18 Feb 2017 22:02:17 +0100 Subject: [PATCH] #442, fix SVG style --- src/render/svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/svg.js b/src/render/svg.js index 9890b9c..afa8f73 100644 --- a/src/render/svg.js +++ b/src/render/svg.js @@ -101,7 +101,7 @@ return function(networkRoot, userConfig) { .attr('height', docElm.property('clientHeight')); } - var patchCanvas = svg.append(ƒ(style.createCanvas(patch, networkRoot.node())).element) + var patchCanvas = svg.append(ƒ(style.createCanvas(patch, networkRoot.node()).element)) .classed('rpd-style-' + config.style, true) .classed('rpd-values-' + (config.valuesOnHover ? 'on-hover' : 'always-shown'), true) .classed('rpd-show-boxes', config.showBoxes);