import ChordView from './ChordView.mjs';
import ChordSeriesModel from './ChordSeries.mjs';
import chordCircularLayout from './chordLayout.mjs';
import dataFilter from '../../processor/dataFilter.mjs';

function install(registers) {
  registers.registerChartView(ChordView);
  registers.registerSeriesModel(ChordSeriesModel);
  registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, chordCircularLayout);
  // Add data filter processor
  registers.registerProcessor(dataFilter('chord'));
}

export { install };
