Class: Ea::Cli::Command::Svg
Overview
ea svg NAME FILE [--output=PATH]
ea svg --all FILE [--output-dir=PATH]
Renders one (NAME) or every (--all) diagram from a QEA or XMI file into standalone SVG using the umldi content (placed element bounds + connector waypoints) captured in Ea::Model::Diagram.
Default emitter is EaEmitter::Document which mirrors EA's SVG structure (DOCTYPE, layered groups, EA-style markers).
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Ea::Cli::Command::Base
Instance Method Details
#call ⇒ Object
19 20 21 22 23 |
# File 'lib/ea/cli/command/svg.rb', line 19 def call return render_all if [:all] render_one end |