Method: Pacer::Core::Graph::GraphRoute#e

Defined in:
lib/pacer/core/graph/graph_route.rb

#e(*filters, &block) ⇒ Object

Returns a new route to all graph edges. Standard filter options.



16
17
18
19
20
21
22
# File 'lib/pacer/core/graph/graph_route.rb', line 16

def e(*filters, &block)
  filters = Pacer::Route.edge_filters(self, filters)
  route = chain_route :element_type => :edge,
    :pipe_class => Pacer::Pipes::EdgesPipe,
    :route_name => 'GraphE'
  Pacer::Route.property_filter(route, filters, block, true)
end