|
@ -138,7 +138,7 @@ GraphGroup.prototype.drawIcon = function(x, y, JSONcontainer, SVGcontainer, icon |
|
|
path = DOMutil.getSVGElement("path", JSONcontainer, SVGcontainer); |
|
|
path = DOMutil.getSVGElement("path", JSONcontainer, SVGcontainer); |
|
|
path.setAttributeNS(null, "class", this.className); |
|
|
path.setAttributeNS(null, "class", this.className); |
|
|
if(this.style !== undefined) { |
|
|
if(this.style !== undefined) { |
|
|
path.setAttributeNS(null, "style", 'vis-' + this.style); |
|
|
|
|
|
|
|
|
path.setAttributeNS(null, "style", this.style); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
path.setAttributeNS(null, "d", "M" + x + ","+y+" L" + (x + iconWidth) + ","+y+""); |
|
|
path.setAttributeNS(null, "d", "M" + x + ","+y+" L" + (x + iconWidth) + ","+y+""); |
|
|