Make Svg giving Wrong placement for Svg background

While using SVG as Background and providing it desired size and Scale (i am giving it 1.5) the final product in Make SVG has different placement of objects and background image is not scaled.

Thanks for reporting, we will investigate.

Everything seems to work as I expect:

I have a scale of 1.5 and a size of (100, 200) which is cropping the rest of the Diagram, and the background color seems correct with no positioning oddities.

What is different about your case?

I think you misunderstood my situation i am using an svg picture as background for the layout and that’s where i am setting the scale and desired size of that part and then i am drawing some elements over it after that i am using makeSVG with scale 1. I hope with below code it will be more understandable.

this.diagram.add($(go.Part,  // this Part is not bound to any model data
      { layerName: "Background", position: new go.Point(0, 0),
        selectable: false, pickable: false },
      { source:"assets/back.svg",  desiredSize: new go.Size(2036,1231), scale: 1.5})

    var svgWindow =;
    if (!svgWindow) return;  // failure to open a new Window  
    var self = this;  
    var svg = this.diagram.makeSvg({
      scale: 1.0,
      showTemporary: true,
      elementFinished: function(graphobject, svgelement) {
        if (!(graphobject instanceof go.Picture)) return;
        self.toDataURL(svgelement.getAttribute('href').valueOf(), function(dataUrl) {
          svgelement.setAttribute('href', dataUrl);

 toDataURL(url, callback){
    var xhr = new XMLHttpRequest();
    xhr.onload = function() {
      var reader = new FileReader();
      reader.onloadend = function() {
    };'GET', url);
    xhr.responseType = 'blob';

I see. This still seems to work, can you show me what’s different?