foldkit-viz - v0.15.0
    Preparing search index...

    Function symbolPath

    • Returns an SVG path d string for the given symbol type and size. The path is centered at the origin — use transform="translate(x,y)".

      Parameters

      • type: SymbolType

        One of the SYMBOLS_FILL types.

      • size: number = 64

        Approximate area in square pixels (default 64, matching D3).

      Returns string