'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var circularLayoutHelper = require('./circularLayoutHelper.js');

function graphCircularLayout(ecModel) {
  ecModel.eachSeriesByType('graph', function (seriesModel) {
    if (seriesModel.get('layout') === 'circular') {
      circularLayoutHelper.circularLayout(seriesModel, 'symbolSize');
    }
  });
}

exports.default = graphCircularLayout;
