From b2c3b51e3f9fb9c0d903b4bbf3009f79b8edef77 Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Fri, 12 Apr 2013 11:23:32 +0200 Subject: [PATCH] GraphViewer: Fixed bug for nodeshaper --- html/admin/js/graphViewer/graph/nodeShaper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/admin/js/graphViewer/graph/nodeShaper.js b/html/admin/js/graphViewer/graph/nodeShaper.js index ddf3b3106e..46c24bd157 100644 --- a/html/admin/js/graphViewer/graph/nodeShaper.js +++ b/html/admin/js/graphViewer/graph/nodeShaper.js @@ -204,7 +204,7 @@ function NodeShaper(parent, flags, idfunc) { .attr("fill", "black") .attr("stroke", "black") .text(function(d) { - return d[label] !== undefined ? d[label] : ""; // Which value should be used as label + return d._data[label] !== undefined ? d._data[label] : ""; }); }; }