WorkflowAdminBundle/Resources/public/ecmascript/OpenOrchestra/Application/View/Transition/Mixin/DrawGraphicMixin.js
Function _drawGraphic
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_drawGraphic(transitions , selector) {
var g = new dagreD3.graphlib.Graph().setGraph({});
g.graph().rankdir = 'LR';
for (let transition of transitions) {
- Create a ticketCreate a ticket