Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompileOptions ¶
type CompileOptions struct { UTF16Pos bool FS fs.FS MeasuredTexts []*d2target.MText Ruler *textmeasure.Ruler LayoutResolver func(engine string) (d2graph.LayoutGraph, error) Layout *string // FontFamily controls the font family used for all texts that are not the following: // - code // - latex // - pre-measured (web setting) // TODO maybe some will want to configure code font too, but that's much lower priority FontFamily *d2fonts.FontFamily InputPath string }
Click to show internal directories.
Click to hide internal directories.