UNPKG

@antv/g6

Version:

graph visualization frame work

20 lines (15 loc) 465 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * @fileOverview layout base class * @author huangtonger@aliyun.com */ var Base = function () { function Base() { _classCallCheck(this, Base); } Base.prototype.execute = function execute() { throw new Error('please override this method'); }; return Base; }(); module.exports = Base;