• Parameters

    • graph: FOLD

      a FOLD object

    • element: SVGElement

      an already initialized SVG DOM element.

    • options: any = {}

      an optional options object to style the rendering

    Returns SVGElement

    the first SVG parameter object.

    Description

    renders a FOLD object into an SVG, ensuring visibility by setting the viewBox and the stroke-width attributes on the SVG.