# Each connection is handled by a Graph::Connection object, so that each end
# of the Edge can have it's own attributes.
class Edge < OpenStruct
# Each connection is handled by a Graph::Connection object, so that each end
# of the Edge can have it's own attributes.
class Edge < OpenStruct
# Return the connection object that joins this Edge to the specified Vertex
def connection_at(vertex)
# Return the connection object that joins this Edge to the specified Vertex
def connection_at(vertex)