Module: Ea::Svg

Defined in:
lib/ea/svg.rb,
lib/ea/svg/renderer.rb,
lib/ea/svg/element_box.rb,
lib/ea/svg/connector_path.rb,
lib/ea/svg/style_resolver.rb,
lib/ea/svg/bounds_calculator.rb

Overview

Ea::Svg is a consumer adapter of Ea::Model::Diagram — it projects the umldi (UML Diagram Interchange) content of a diagram into standalone SVG. Coordinates are taken straight from the source: EA's pixel space (rectleft, recttop, rectright, rectbottom, t_diagramlinks.geometry) or XMI's uml:Diagram owned_element bounds.

Distinct from Ea::Diagram::SvgRenderer which operates on the legacy Lutaml::Uml::Document pipeline. This module consumes the canonical Ea::Model types only.

Defined Under Namespace

Classes: BoundsCalculator, ConnectorPath, ElementBox, Renderer, StyleResolver