Module: Nyaplot::Diagrams::Connector

Includes:
Jsonizable
Defined in:
lib/bionya/diagram.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Jsonizable

#before_to_json, #get_property, included, #init_properties, #set_property, #to_json

Instance Attribute Details

#arc_heightNumeric


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#colorArray<String>


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#fill_bySymbol


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#layerNumeric


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#shapeArray<String>


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#shape_fillString


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#shape_strokeString


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#shape_stroke_widthNumeric


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#sizeNumeric


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

#stroke_widthNumeric


79
# File 'lib/bionya/diagram.rb', line 79

define_group_properties(:options, [:color, :fill_by, :from, :to, :shape, :stroke_width, :size, :shape_fill, :shape_stroke, :shape_stroke_width, :arc_height, :layer])

Instance Method Details

#process_data(df, labels) ⇒ Object


81
82
83
84
# File 'lib/bionya/diagram.rb', line 81

def process_data(df, labels)
  from(labels[0])
  to(labels[1])
end