Class: Lutaml::Xsd::Spa::Svg::LayoutConnection
- Inherits:
-
Object
- Object
- Lutaml::Xsd::Spa::Svg::LayoutConnection
- Defined in:
- lib/lutaml/xsd/spa/svg/layout_engine.rb
Overview
Value object representing a connection between nodes
Instance Attribute Summary collapse
-
#connector_type ⇒ Object
readonly
Returns the value of attribute connector_type.
-
#from_node ⇒ Object
readonly
Returns the value of attribute from_node.
-
#to_node ⇒ Object
readonly
Returns the value of attribute to_node.
Instance Method Summary collapse
-
#initialize(from_node, to_node, connector_type) ⇒ LayoutConnection
constructor
A new instance of LayoutConnection.
Constructor Details
#initialize(from_node, to_node, connector_type) ⇒ LayoutConnection
Returns a new instance of LayoutConnection.
84 85 86 87 88 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 84 def initialize(from_node, to_node, connector_type) @from_node = from_node @to_node = to_node @connector_type = connector_type end |
Instance Attribute Details
#connector_type ⇒ Object (readonly)
Returns the value of attribute connector_type.
82 83 84 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 82 def connector_type @connector_type end |
#from_node ⇒ Object (readonly)
Returns the value of attribute from_node.
82 83 84 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 82 def from_node @from_node end |
#to_node ⇒ Object (readonly)
Returns the value of attribute to_node.
82 83 84 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 82 def to_node @to_node end |