mirror of https://gitee.com/bigwinds/arangodb
GraphViewer: Fixed bug for nodeshaper
This commit is contained in:
parent
3eb211ca49
commit
b2c3b51e3f
|
@ -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] : "";
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue