Class: AsciidoctorDiagramLayout::ContainerNode
- Inherits:
-
Struct
- Object
- Struct
- AsciidoctorDiagramLayout::ContainerNode
- Defined in:
- lib/asciidoctor_diagram_layout/parser.rb
Overview
A container node holding child nodes in a row or column direction.
Instance Attribute Summary collapse
- #children ⇒ Array<ContainerNode, CellNode>
-
#direction ⇒ :cols, :rows
Flex direction.
-
#size ⇒ Integer, :auto
Percentage of parent or
:autofor flex grow.
Instance Attribute Details
#children ⇒ Array<ContainerNode, CellNode>
151 |
# File 'lib/asciidoctor_diagram_layout/parser.rb', line 151 ContainerNode = Struct.new(:direction, :size, :children) |
#direction ⇒ :cols, :rows
Returns flex direction.
151 |
# File 'lib/asciidoctor_diagram_layout/parser.rb', line 151 ContainerNode = Struct.new(:direction, :size, :children) |
#size ⇒ Integer, :auto
Returns percentage of parent or :auto for flex grow.
151 |
# File 'lib/asciidoctor_diagram_layout/parser.rb', line 151 ContainerNode = Struct.new(:direction, :size, :children) |