Module: TreeGraph
- Defined in:
- lib/tree_graph.rb,
lib/tree_graph/version.rb
Defined Under Namespace
Modules: Node
Classes: BottomUp, BottomUpInSameOrder, TopDown
Constant Summary
collapse
- EMPTY_ARRAY =
[]
- VERSION =
"0.2.4"
Instance Method Summary
collapse
Instance Method Details
#tree_graph ⇒ Object
5
6
7
|
# File 'lib/tree_graph.rb', line 5
def tree_graph
TopDown.new(self).tree_graph
end
|
#tree_graph_bottom_up ⇒ Object
9
10
11
|
# File 'lib/tree_graph.rb', line 9
def tree_graph_bottom_up
BottomUp.new(self).tree_graph
end
|
#tree_graph_bottom_up_in_same_order ⇒ Object
13
14
15
|
# File 'lib/tree_graph.rb', line 13
def tree_graph_bottom_up_in_same_order
BottomUpInSameOrder.new(self).tree_graph
end
|