svgbobex v0.0.2 SvgBobEx
Provides a straightforward interface to the svgbob tool.
graph = """
+-----+ +-----+
| one +--->| two |
+-----+ +-----+
"""
SvgBobEx.to_svg!(graph)
Link to this section Summary
Functions
Takes the string containing the ASCII graph and converts it into
SVG data. Returns { :ok, String.t }
on success, or
{ :error, reason }
on failure
Takes the string containing the ASCII graph and converts it into
SVG data. Returns the SVG data, or raises SvgBobEx.Error
on failure
Link to this section Functions
Takes the string containing the ASCII graph and converts it into
SVG data. Returns { :ok, String.t }
on success, or
{ :error, reason }
on failure.
Takes the string containing the ASCII graph and converts it into
SVG data. Returns the SVG data, or raises SvgBobEx.Error
on failure.