Class: Ea::Model::DiagramElement
- Defined in:
- lib/ea/model/diagram_element.rb
Overview
A single placed element on a diagram. References the model element it visualizes (by id), carries pixel bounds and a parsed style map (fill color, line color, font, etc.).
Carries two distinct bounds:
bounds— logical rect (EA's Left/Top/Right/Bottom)image_bounds— visual rect including padding (EA's imgL/imgT/imgR/imgB); used by EA's SVG renderer for the actual<rect>width/height