0.0
The project is in a healthy, maintained state
Renders LutaML (LML) documents as Graphviz diagrams. Owns the ruby-graphviz dependency so the lutaml core gemspecs never carry an optional render toolchain.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

lutaml-graphviz

Graphviz diagram rendering for LutaML (LML) models. ruby-graphviz and the dot toolchain live in this gem only; the lutaml core never depends on them.

require "lutaml/graphviz"

doc = Lutaml::Lml.parse(File.read("model.lml"))
svg = Lutaml::Formatter::Graphviz.new.tap { |f| f.type = :svg }.format(doc)

Requiring lutaml/graphviz registers the graphviz formatter in Lutaml::Formatter (model-driven registry), which lutaml lml generate discovers.

Output parity with the former in-gem converter (lutaml-lml ⇐ 0.3.6) is pinned by the golden .dot fixtures in spec/fixtures/generated_dot/.