bidirectional edges