lib/jumoku.rb in jumoku-0.2.2 vs lib/jumoku.rb in jumoku-0.2.3
- old
+ new
@@ -3,10 +3,11 @@
require 'pathname'
require 'pp'
require 'active_support'
require 'facets'
+require 'hashery'
require 'plexus'
# Jumoku provides you with several modules and classes to build and manipulate
# tree graphs. Two basic implementations are available: undirected trees
# ({RawUndirectedTree}) and directed trees ({RawDirectedTree}).
@@ -40,9 +41,13 @@
# tree classes
autoload :RawDirectedTree, 'jumoku/classes/tree_classes'
autoload :RawUndirectedTree, 'jumoku/classes/tree_classes'
autoload :Tree, 'jumoku/classes/tree_classes'
autoload :Arborescence, 'jumoku/classes/tree_classes'
+
+ # strategies
+ autoload :EdgeLabeling, 'jumoku/strategies/edge_labeling'
+ EdgeLabeling.autoload :Simple, 'jumoku/strategies/edge_labeling/simple'
# support
require 'jumoku/support/ruby_compatibility'
require 'jumoku/support/support'
require 'jumoku/ext/ext'