Module: Neography::NodePath
- Included in:
- Node
- Defined in:
- lib/neography/node_path.rb
Instance Method Summary collapse
- #all_paths_to(to) ⇒ Object
- #all_shortest_paths_to(to) ⇒ Object
- #all_simple_paths_to(to) ⇒ Object
- #path_to(to) ⇒ Object
- #shortest_path_to(to) ⇒ Object
- #simple_path_to(to) ⇒ Object
Instance Method Details
#all_paths_to(to) ⇒ Object
4 5 6 |
# File 'lib/neography/node_path.rb', line 4 def all_paths_to(to) PathTraverser.new(self, to, "allPaths", true) end |
#all_shortest_paths_to(to) ⇒ Object
12 13 14 |
# File 'lib/neography/node_path.rb', line 12 def all_shortest_paths_to(to) PathTraverser.new(self, to, "shortestPath", true) end |
#all_simple_paths_to(to) ⇒ Object
8 9 10 |
# File 'lib/neography/node_path.rb', line 8 def all_simple_paths_to(to) PathTraverser.new(self, to, "allSimplePaths", true) end |
#path_to(to) ⇒ Object
16 17 18 |
# File 'lib/neography/node_path.rb', line 16 def path_to(to) PathTraverser.new(self, to, "allPaths", false) end |
#shortest_path_to(to) ⇒ Object
24 25 26 |
# File 'lib/neography/node_path.rb', line 24 def shortest_path_to(to) PathTraverser.new(self, to, "shortestPath", false) end |
#simple_path_to(to) ⇒ Object
20 21 22 |
# File 'lib/neography/node_path.rb', line 20 def simple_path_to(to) PathTraverser.new(self, to, "allSimplePaths", false) end |