Class: ActiverecordCallbackLens::Graph::Graph

Inherits:
Data
  • Object
show all
Defined in:
lib/activerecord_callback_lens/graph/nodes.rb

Overview

The assembled graph: a flat list of nodes and a flat list of edges. nodes: Array<node>, edges: Array<Edge>

Instance Attribute Summary collapse

Instance Attribute Details

#edgesObject (readonly)

Returns the value of attribute edges

Returns:

  • (Object)

    the current value of edges



36
37
38
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 36

def edges
  @edges
end

#nodesObject (readonly)

Returns the value of attribute nodes

Returns:

  • (Object)

    the current value of nodes



36
37
38
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 36

def nodes
  @nodes
end