lib/jumoku/strategies/edge_labeling/simple.rb
# Only for directed trees.
#
# Return the sorted list of arcs branched out from the specified node.
#
# @param [Node] node
# @return [Array<Plexus::Arc>]
#
Only for directed trees.
Return the sorted list of arcs branched out from the specified node.
Only for directed trees . Return the sorted list of arcs branched out from the specified node .
def sorted_arcs_from(node)
        return nil unless is_a? RawDirectedTreeBuilder
        adjacent(node).map do |child_node|
          edge_class[node, child_node, edge_label(node, child_node)]
        end.sort_by { |e| e.label._weight }
      end
def sorted_arcs_from ( node ) return nil unless is_a? RawDirectedTreeBuilder adjacent ( node ) . map do | child_node | edge_class [ node , child_node , edge_label ( node , child_node ) ] end . sort_by { | e | e . label . _weight } end
Only for directed trees.
Only for directed trees .
None
Array<Plexus::Arc>
node
<not_specific>
<not_specific>
None