Class: ConceptQL::GraphNodifier::VsacOperator

Inherits:
DotOperator show all
Defined in:
lib/conceptql/graph_nodifier.rb

Constant Summary

Constants inherited from DotOperator

DotOperator::TYPES

Constants included from Behaviors::Dottable

Behaviors::Dottable::TYPE_COLORS

Constants inherited from Operators::Operator

Operators::Operator::COLUMNS

Instance Attribute Summary

Attributes inherited from DotOperator

#values

Attributes inherited from Operators::Operator

#arguments, #options, #upstreams, #values

Instance Method Summary collapse

Methods inherited from DotOperator

#display_name

Methods included from Behaviors::Dottable

#display_name, #graph_it, #graph_operator, #link_to, #my_count, #my_n, #operator_name, #operator_number, #reset_operator_number, #type_color

Methods inherited from Operators::Operator

#columns, #evaluate, #label, #select_it, #set_values, #sql, #stream

Methods included from Metadatable

#allows_many_upstreams, #allows_one_upstream, #argument, #category, #desc, #humanized_class_name, #inherited, #just_class_name, #option, #predominant_types, #preferred_name, #reset_categories, #to_metadata

Constructor Details

#initialize(name, values, types) ⇒ VsacOperator



164
165
166
167
# File 'lib/conceptql/graph_nodifier.rb', line 164

def initialize(name, values, types)
  @types = types
  super(name, values)
end

Instance Method Details

#typesObject



169
170
171
# File 'lib/conceptql/graph_nodifier.rb', line 169

def types
  [ @types ].flatten.compact.map(&:to_sym)
end