import DS from 'ember-data';

export default DS.Model.extend({
  prev: DS.attr(),
  next: DS.attr(),
  elements: DS.hasMany('element')
});

import DS from 'ember-data';

export default DS.Model.extend({
  index: DS.attr(),
  elements: DS.hasMany('element')
});

Use an index instead of prev/next pointers
Use an index instead of prev/next pointers
