add support for edges, requires cy.js 2.1