Interface: RenderOptions
Defined in: render/public.ts:41
Options for render.
Properties
engine?
optional engine?: EngineName;Defined in: render/public.ts:49
Layout engine to use. Defaults to 'dot'.
yAxis is intentionally absent: coordinate orientation is a getLayout concern (ADR-5). The raw format strings produced here carry native y-up coordinates; callers that need y-down must flip in post-processing.
inlineImages?
optional inlineImages?: boolean;Defined in: render/public.ts:60
Inline external images as data: URIs (AD-1, additive). Defaults to false — unset reproduces the pre-AD-1 raw xlink:href="src" passthrough byte-for-byte. When true, the SVG emitter consults the process-global resolver registered via setImageResolver (from @knowvah/dot-engine) for each image=/HTML <IMG> source; a hit is inlined as data:<mime>;base64,<...>, a miss (or no resolver registered) falls back to the raw src passthrough. Has no effect on non-SVG formats.