Skip to content

Function: renderToString() ​

ts
function renderToString(layout, opts?): string;

Render a layout to a standalone SVG document string.

Parameters ​

ParameterType
layoutLayout
optsRenderOptions

Returns ​

string

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).