Class: AsciidoctorDiagramLayout::CellNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/asciidoctor_diagram_layout/parser.rb

Overview

A leaf node representing a named cell.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns cell name, may contain AsciiDoc inline macros.

Returns:

  • (String)

    cell name, may contain AsciiDoc inline macros



159
# File 'lib/asciidoctor_diagram_layout/parser.rb', line 159

CellNode = Struct.new(:size, :name)

#sizeInteger, :auto

Returns percentage of parent or :auto for flex grow.

Returns:

  • (Integer, :auto)

    percentage of parent or :auto for flex grow



159
# File 'lib/asciidoctor_diagram_layout/parser.rb', line 159

CellNode = Struct.new(:size, :name)