knsv/mermaid

View on GitHub
packages/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js

Summary

Maintainability
A
1 hr
Test Coverage

Function intersectPolygon has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function intersectPolygon(node, polyPoints, point) {
  var x1 = node.x;
  var y1 = node.y;

  var intersections = [];
Severity: Minor
Found in packages/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status