Class: Ea::Cli::Command::Svg
Overview
ea svg NAME FILE [--output=PATH] [--mode=ea|thin]
ea svg --all FILE [--output-dir=PATH] [--mode=ea|thin]
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). Pass --mode=thin for the simpler Renderer output.
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
20 21 22 23 24 |
# File 'lib/ea/cli/command/svg.rb', line 20 def call return render_all if [:all] render_one end |