open-orchestra/open-orchestra-cms-bundle

View on GitHub
WorkflowAdminBundle/Resources/public/ecmascript/OpenOrchestra/Application/View/Transition/Mixin/DrawGraphicMixin.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function _drawGraphic has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _drawGraphic(transitions , selector) {
        var g = new dagreD3.graphlib.Graph().setGraph({});
        g.graph().rankdir = 'LR';

        for (let transition of transitions) {

There are no issues that match your filters.

Category
Status