unique index on edges in,out