Class: Lutaml::Xsd::Spa::Svg::LayoutResult
- Inherits:
-
Object
- Object
- Lutaml::Xsd::Spa::Svg::LayoutResult
- Defined in:
- lib/lutaml/xsd/spa/svg/layout_engine.rb
Overview
Value object representing the result of layout calculation
Instance Attribute Summary collapse
-
#connections ⇒ Object
readonly
Returns the value of attribute connections.
-
#dimensions ⇒ Object
readonly
Returns the value of attribute dimensions.
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
Instance Method Summary collapse
-
#initialize(nodes, connections, dimensions) ⇒ LayoutResult
constructor
A new instance of LayoutResult.
Constructor Details
#initialize(nodes, connections, dimensions) ⇒ LayoutResult
Returns a new instance of LayoutResult.
62 63 64 65 66 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 62 def initialize(nodes, connections, dimensions) @nodes = nodes @connections = connections @dimensions = dimensions end |
Instance Attribute Details
#connections ⇒ Object (readonly)
Returns the value of attribute connections.
60 61 62 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 60 def connections @connections end |
#dimensions ⇒ Object (readonly)
Returns the value of attribute dimensions.
60 61 62 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 60 def dimensions @dimensions end |
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
60 61 62 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 60 def nodes @nodes end |