Expand description
Text in, picture out: process text (or compact JSON) to SVG or PNG in one call.
load expands the text (content-derived ids, so the same text always draws the same
picture), the renderer lays out whatever has no diagram interchange and draws it.
Pure and synchronous; in an async server call it from spawn_blocking.
Functionsยง
- render_
png render_svgthen rasterise (featurerender-png).- render_
svg - Process text or compact JSON to SVG. Auto-layout is always on, whatever
optssays, because expanded text carries no usable diagram of its own.