lib/model/edge.rb
Establish constrains on Edges

After applying this method Edges are uniq!

Creates individual indices for child-classes if applied to the class itself.
Establish constrains on Edges
After applying this method Edges are uniq!

Creates individual indices for child-classes if applied to the class itself.
Establish constrains on Edges After applying this method Edges are uniq! Creates individual indices for child - classes if applied to the class itself .
def  uniq_index
    create_property  :in,  type: :link, linked_class: :V
    create_property  :out, type: :link, linked_class: :V
    create_index "#{ref_name}_idx", on: [ :in, :out ]
  end
def uniq_index create_property :in , type : :link , linked_class : :V create_property :out , type : :link , linked_class : :V create_index "#{ref_name}_idx" , on : [ :in , :out ] end
Establish constrains on Edges
After applying this method Edges are uniq!
Establish constrains on Edges After applying this method Edges are uniq!