1
0
Fork 0

GraphViewer: Fixed bug for nodeshaper

This commit is contained in:
Michael Hackstein 2013-04-12 11:23:32 +02:00
parent 3eb211ca49
commit b2c3b51e3f
1 changed files with 1 additions and 1 deletions

View File

@ -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] : "";
});
};
}