SNIK Graph - v25.01
    Preparing search index...

    Function savePng

    • Save the graph as a PNG (lossless compression).

      Parameters

      • graph: Graph

        the graph to save as PNG

      • dayMode: boolean

        whether day mode is active

      • full: boolean

        Iff true, include the whole graph, otherwise only include what is inside the canvas boundaries.

      • highRes: boolean

        Iff true, generate a high resolution picture using the maximum width and height from config.js. Otherwise, either use the native resolution of the canvas (full=false) or the standard resolution (full=true) from config.js.

      Returns void

      nothing