• Parameters

    • graph: FOLD

      a FOLD object

    • Optional vmax: number

      if the dimensions of the graph are already calculated, provide the longest length along one axis here.

    Returns number

    a suitable value for a stroke-width

    Description

    Given a FOLD graph, find a suitable stroke-width for the purposes of rendering the edges.