Module: Ea::Svg::EaEmitter

Defined in:
lib/ea/svg/ea_emitter.rb,
lib/ea/svg/ea_emitter/canvas.rb,
lib/ea/svg/ea_emitter/labels.rb,
lib/ea/svg/ea_emitter/markers.rb,
lib/ea/svg/ea_emitter/document.rb,
lib/ea/svg/ea_emitter/elements.rb,
lib/ea/svg/ea_emitter/background.rb,
lib/ea/svg/ea_emitter/connectors.rb

Overview

EaEmitter orchestrates SVG output that mirrors EA's layering and naming conventions:

  1. XML declaration + DOCTYPE (SVG 1.0)
  2. Root with cm dimensions + viewBox
  3. + Created with Enterprise Architect..
  4. Background with full-canvas white rect
  5. Per-element groups, layered: shape , text , divider , attribute text
  6. Per-connector groups: path and polygon
  7. Final labels with all connector text

Distinct from Ea::Svg::Renderer which produces a thinner output for diagrams that don't carry full EA style data.

Defined Under Namespace

Modules: Background Classes: Canvas, Connectors, Document, Elements, Labels, Markers