|
@@ -1059,6 +1059,12 @@ mxSvgCanvas2D.prototype.image = function(x, y, w, h, src, aspect, flipH, flipV)
|
|
|
node.setAttribute('y', this.format(y * s.scale) + this.imageOffset);
|
|
node.setAttribute('y', this.format(y * s.scale) + this.imageOffset);
|
|
|
node.setAttribute('width', this.format(w * s.scale));
|
|
node.setAttribute('width', this.format(w * s.scale));
|
|
|
node.setAttribute('height', this.format(h * s.scale));
|
|
node.setAttribute('height', this.format(h * s.scale));
|
|
|
|
|
+
|
|
|
|
|
+ console.log(2323,node)
|
|
|
|
|
+
|
|
|
|
|
+ node.onerror = ()=>{
|
|
|
|
|
+ node.href.baseVal=this.converter.convert('/static/assets/images/entity/png/matrix.png');
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// Workaround for missing namespace support
|
|
// Workaround for missing namespace support
|
|
|
if (node.setAttributeNS == null)
|
|
if (node.setAttributeNS == null)
|