api-edges.js examples changed