def create_edge_to_and_from(other, weight = 1.0)
      self.class.edge_class.create!(:from_id => id, :to_id => other.id, :weight => weight)
      self.class.edge_class.create!(:from_id => other.id, :to_id => id, :weight => weight)
    end
def create_edge_to_and_from(other, weight = 1.0)
      self.class.edge_class.create!(:from_id => id, :to_id => other.id, :weight => weight)
      self.class.edge_class.create!(:from_id => other.id, :to_id => id, :weight => weight)
    end
+other+ graph node to edge to
 +weight+ positive float denoting edge weight
 Creates a two way edge between this node and another.