class GraphElements::EdgeDefault

Represent the conneciont edges between vertices

Public Class Methods

new(origin, destiny) click to toggle source

Constructor to Edge

Params:
origin

Vertex relationship origin

destiny

Vertex relationship destiny

Returns Vertex's Instance

# File lib/social_framework/graphs/graph_elements.rb, line 111
def initialize origin, destiny
  @origin = origin
  @destiny = destiny
  @labels = Array.new
end