Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

makeImage with scale 1 not working for Circular and Heirarchical Layout

$
0
0

@mithun wrote:

Hi,

I have a digram with around 100 nodes and I have used circular layout.
But when we try to makeImage with scale:1, the png downloaded does not include all the nodes. I see only partial diagram in the downloaded image.

Here’s what I am using:

var goJsDiagram = this.mapPanel.goJsDiagram;
        var imgData = goJsDiagram.makeImage({scale:1});
        var download = document.createElement('a');
        download.href = imgData.src;
        download.download = 'map.png';
        download.click();

Please let me know if I m missing anything.
Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles