Sevgi Graphics

Sevgi Graphics implements the SVG DSL, document profiles, and rendering.

Install

gem install sevgi-graphics

Require

require "sevgi/graphics"

Example

doc = Sevgi::Graphics.SVG(:minimal) { rect width: 3, height: 5 }
doc.call

Ruby compatibility

Requires Ruby 3.4.0 or newer. CI verifies the current Ruby 3.4 release and the development Ruby from .ruby-version.

Native prerequisites

This gem needs only Ruby and its Ruby dependencies.