Class: ConceptQL::GraphNodifier::VsacNode

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

Constant Summary

Constants inherited from DotNode

DotNode::TYPES

Constants included from Behaviors::Dottable

Behaviors::Dottable::TYPE_COLORS

Constants inherited from Nodes::Node

Nodes::Node::COLUMNS

Instance Attribute Summary

Attributes inherited from DotNode

#values

Attributes inherited from Nodes::Node

#values

Instance Method Summary collapse

Methods inherited from DotNode

#display_name

Methods included from Behaviors::Dottable

#display_name, #graph_it, #graph_node, #link_to, #my_count, #my_n, #node_name, #type_color

Methods inherited from Nodes::Node

#arguments, #children, #columns, #evaluate, #select_it, #sql, #stream

Constructor Details

#initialize(name, values, types) ⇒ VsacNode

Returns a new instance of VsacNode.



141
142
143
144
# File 'lib/conceptql/graph_nodifier.rb', line 141

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

Instance Method Details

#typesObject



146
147
148
# File 'lib/conceptql/graph_nodifier.rb', line 146

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