SvgLib.SvgThis modules implements the cheapest interface to allow for having an acg version that behaves correctly, whether the optional dependency cairo2 is available or not
val get_config : filename:string option -> dirs:string list -> configget config ~filename ~dirs returns a config file made of the json file specified with filename and dirs. If the former is None, returns a default configuration.
val dump_svg :
svg_output:string ->
AcgData.Signature.Data_Signature.term ->
index:int ->
AcgData.Acg_lexicon.Data_Lexicon.t list ->
config:config ->
unit