Method: Rubyvis::Nest#entries

Defined in:
lib/rubyvis/nest.rb

#entriesObject

Returns a hierarchical nested array. This method is similar to pv.entries, but works recursively on the entire hierarchy. Rather than returning a map like #map, this method returns a nested array. Each element of the array has a key and values field. For leaf nodes, the values array will be a subset of the underlying elements array; for non-leaf nodes, the values array will contain more key-values pairs.

<p>For an example usage, see the Nest constructor.



148
149
150
# File 'lib/rubyvis/nest.rb', line 148

def entries()
  entries_sort(entries_entries(map),0)
end