lib/model/vertex.rb
#
# get all Vertices connected by edges of type via
get all Vertices connected by edges of type via
get all Vertices connected by edges of type via
def both count=0, via:nil
      if count.zero?
        @bufferedboth ||= nodes :both, 1, via: via
      else
        nodes :both, count, via: via   
      end
    end
def both count = 0 , via : nil if count . zero? @bufferedboth ||= nodes :both , 1 , via : via else nodes :both , count , via : via end end
get all Vertices connected by edges of type via
get all Vertices connected by edges of type via
# not cached
count
via