Documentation

ProofWidgets.Component.InteractiveSvg

structure ProofWidgets.Svg.SvgState (State : Type) :

The input type State is any state the user wants to use and update

SvgState in addition automatically handles tracking of time, selection and custom data

Instances For
    Equations
    • ProofWidgets.Svg.instToJsonSvgState = { toJson := ProofWidgets.Svg.toJsonSvgState✝ }
    Equations
    • ProofWidgets.Svg.instFromJsonSvgState = { fromJson? := ProofWidgets.Svg.fromJsonSvgState✝ }
    Equations
    • ProofWidgets.Svg.instRpcEncodableSvgState = { rpcEncode := ProofWidgets.Svg.instRpcEncodableSvgState.enc✝, rpcDecode := ProofWidgets.Svg.instRpcEncodableSvgState.dec✝ }
    Instances For
      Equations
      • ProofWidgets.Svg.instToJsonUpdateParams = { toJson := ProofWidgets.Svg.toJsonUpdateParams✝ }
      Equations
      • ProofWidgets.Svg.instFromJsonUpdateParams = { fromJson? := ProofWidgets.Svg.fromJsonUpdateParams✝ }
      Instances For
        Equations
        • ProofWidgets.Svg.instRpcEncodableUpdateResult = { rpcEncode := ProofWidgets.Svg.instRpcEncodableUpdateResult.enc✝, rpcDecode := ProofWidgets.Svg.instRpcEncodableUpdateResult.dec✝ }
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For