lib/jumoku/builders/arborescence.rb
# Return the list of leaf nodes.
#
# @return [Array<Node>]
#
Return the list of leaf nodes.
Return the list of leaf nodes .
def leaves
      terminal_nodes.delete_if do |node|
        out_degree(node) > 0
      end
    end
def leaves terminal_nodes . delete_if do | node | out_degree ( node ) > 0 end end
Return the list of leaf nodes.
Return the list of leaf nodes .
None
Array<Node>