Added id to edges