Graphviz dot source.
Optionaloptions: { engine?: string }
Optional renderer overrides.
Optionalengine?: stringGraphviz layout engine to use (e.g. 'dot',
'neato', 'circo'). Unrecognized engine names cause @viz-js/viz
to throw at render time.
A promise resolving to an SVG XML string.
Render a graphviz dot source string to SVG using
@viz-js/viz, or the engine injected via configure({ viz })when one is set. The default viz instance is lazy-initialized on first call and cached for the lifetime of the module; an injected engine bypasses it entirely.