Expand description
SVG / PNG helpers for Adaptive Cards fallbacks. SVG builders + optional PNG rasterize for Adaptive Cards Image data URIs.
Used for chart / canvas / gauge nodes that Adaptive Cards cannot express natively.
Functions§
- element_
to_ png_ data_ uri - Convenience: element → PNG data URI.
- element_
to_ svg - Build an SVG document for chart/canvas/gauge/shape;
Nonefor other element types. - svg_
to_ data_ uri - Rasterize SVG to
data:image/png;base64,…when therasterizefeature is on.