API

Use the task guides for the workflow and the component reference for exact arguments, return values, and failures. Sevgi is released as focused gems, so consumers can depend only on the layers they need.

Find the right reference

TaskGuideAPI owner
Use the full SVG facadeLibrary Modesevgi
Construct and render SVGSVG Essentialssevgi-graphics
Extend or embed the drawing DSLLibrary Modesevgi-graphics and sevgi
Execute trusted .sevgi sourceExecutionsevgi
Convert, inspect, or import SVG/XMLDerendersevgi-derender
Calculate geometry or hatch shapesGeometrysevgi-geometry
Fit rulers, grids, and tilesSundriessevgi-sundries
Export SVG to PDF or PNGExportsevgi-sundries
Reuse precision, discovery, shell, or status behaviorFunctionssevgi-function

The executable DSL Catalog is the canonical inventory of drawing words. It complements the YARD component references rather than being repeated in them. In the full toolkit, capitalized SVG-domain operations live on the SVG facade and types live beneath SVG::; focused component references retain their conventional lowercase APIs.

Component index