"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.registerNodes = void 0;
var _g = _interopRequireDefault(require("@antv/g6"));
var _start = require("./start");
var _end = require("./end");
var _abnormal = require("./abnormal");
var _condition = require("./condition");
var _action = require("./action");
var _event = require("./event");
var _eventFlow = require("./eventFlow");
var _type = require("../type");
var _rule = require("./rule");
var _ruleBefore = require("./ruleBefore");
var _ruleAfter = require("./ruleAfter");
var _rulePre = require("./rulePre");
var _conditionElse = require("./conditionElse");
var registerNodes = exports.registerNodes = function registerNodes() {
  _g["default"].registerNode(_type.FlowEvent.start, _start.startNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.end, _end.endNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.abnormal, _abnormal.abnormalNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.condition, _condition.conditionNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.conditionElse, _conditionElse.conditionElseNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.action, _action.actionNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.event, _event.eventNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.eventFlowNode, _eventFlow.eventFlowNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.rule, _rule.ruleNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.rulePre, _rulePre.rulePreNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.ruleBefore, _ruleBefore.ruleBeforeNode, 'rect');
  _g["default"].registerNode(_type.FlowEvent.ruleAfter, _ruleAfter.ruleAfterNode, 'rect');
};