UNPKG

@logicflow/extension

Version:
15 lines (14 loc) 711 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerGatewayNodes = void 0; var icons_1 = require("../icons"); var gateway_1 = require("./gateway"); function registerGatewayNodes(lf) { var ExclusiveGateway = (0, gateway_1.GatewayNodeFactory)('bpmn:exclusiveGateway', icons_1.exclusiveIcon); var ParallelGateway = (0, gateway_1.GatewayNodeFactory)('bpmn:parallelGateway', icons_1.parallelIcon); var InclusiveGateway = (0, gateway_1.GatewayNodeFactory)('bpmn:inclusiveGateway', icons_1.inclusiveIcon); lf.register(ExclusiveGateway); lf.register(InclusiveGateway); lf.register(ParallelGateway); } exports.registerGatewayNodes = registerGatewayNodes;