entviz — @entviz/core & @entviz/react API
    Preparing search index...

    Function render

    • Render an entropy string to a self-contained SVG document (returned as a string).

      The input is trimmed, classified (hex / UUID / CESR / blockchain address / DID / URN / … , falling back to a UTF-8 → base64url text encoding), tokenized, and drawn as the spec's grid-of-cells glyph with its color bar, labels, and fingerprint-driven styling. Inputs larger than 512 bits take the head + fingerprint-middle + tail large-input path and set data-truncated="true".

      Parameters

      Returns string

      The SVG document as a string.

      Error if opts.fontSizePt is outside [6, 30], if opts.targetAr is outside [0.01, 100], if opts.note is not printable ASCII of at most 10 characters, if the input exceeds the 65536-character anti-DoS cap, or if a recognized value fails its checksum (e.g. EIP-55 / base58check / bech32).