Function saveSvg

  • Save the graph as a SVG (vector format).

    Parameters

    • graph: Graph

      the graph to save as SVG

    • dayMode: boolean

      whether day mode is active

    • full: boolean = true

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

    Returns void

    nothing