Showing 384 of 1,490 total issues
Function addVertices
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const addVertices = async function (vert, g, svgId, root, _doc, diagObj) {
Function addVertices
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const addVertices = async function (vert, g, svgId, root, doc, diagObj) {
Avoid deeply nested control flow statements. Open
Open
if (fromDYX >= tanDYX) {
returnPoint = new Point(x1, fromCenterY - (fromNode.width / 2) * tanDYX);
} else {
returnPoint = new Point(fromCenterX - ((fromNode.height / 2) * dx) / dy, y1);
}
Avoid deeply nested control flow statements. Open
Open
if (newNode.description === itemId) {
// If the previous description was this, remove it
newNode.description = [parsedItem.description];
} else {
newNode.description = [newNode.description, parsedItem.description];
Avoid deeply nested control flow statements. Open
Open
if (child.size) {
child.size.width = childWidth;
}
Function drawPopup
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const drawPopup = function (elem, actor, minMenuWidth, textAttrs, forceMenus) {
Function addSignal
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
idFrom,
idTo,
message = { text: undefined, wrap: undefined },
messageType,
activate = false
Function drawActivation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const drawActivation = function (elem, bounds, verticalPos, conf, actorActivations) {
Function fixTaskDates
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const fixTaskDates = function (startTime, endTime, dateFormat, excludes, includes) {
Function genPoints
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function genPoints(x, y, width, height, cut) {
Function genPoints
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function genPoints(x, y, width, height, cut) {
Function drawRelationshipFromLayout
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const drawRelationshipFromLayout = function (svg, rel, g, insert, diagObj) {
Function calcC4ShapeTextWH
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function calcC4ShapeTextWH(textType, c4Shape, c4ShapeTextWrap, textConf, textLimitWidth) {
Function drawInsideBoundary
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
diagram,
parentBoundaryAlias,
parentBounds,
currentBoundaries,
diagObj
Function genPoints
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function genPoints(x, y, width, height, cut) {
Function addMarkersToEdge
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const addMarkersToEdge = function (svgPath, edgeData, diagramType, arrowMarkerAbsolute, id) {
Function addContainerBoundary
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const addContainerBoundary = function (alias, label, type, tags, link) {
Function svgDrawLineForCommits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function svgDrawLineForCommits(svg, fromId, toId, direction, color) {
Function addHtmlSpan
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function addHtmlSpan(element, node, width, classes, addBackground = false) {
Function addPersonOrSystemBoundary
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const addPersonOrSystemBoundary = function (alias, label, type, tags, link) {