Showing 384 of 1,490 total issues
Function drawEdge
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export const drawEdge = function (elem, path, relation, conf, diagObj) {
Function drawRelationshipFromLayout
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const drawRelationshipFromLayout = function (svg, rel, g, insert, diagObj) {
Function a11yTitleTagInserted
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
svgD3Node: D3Element,
title: string | undefined,
desc: string | undefined,
givenId: string,
callNumber: number
Function adjustLoopHeightForWrap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {
Function insertPolygonShape
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
parent: D3Element,
w: number,
h: number,
points: Point[],
node: FilledMindMapNode
Function a11yDescTagInserted
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
svgD3Node: D3Element,
title: string | undefined,
desc: string | undefined,
givenId: string,
callNumber: number
Function drawNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
db: MindmapDB,
elem: D3Element,
node: FilledMindMapNode,
fullSection: number,
conf: MermaidConfig
Function drawNodes
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
db: MindmapDB,
svg: D3Element,
mindmap: FilledMindMapNode,
section: number,
conf: MermaidConfig
Function insertEdges
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
elem: any,
edges: Block[],
blocks: Block[],
db: BlockDB,
id: string
Function addClasses
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
classes: ClassMap,
g: graphlib.Graph,
_id: string,
diagObj: any,
parent?: string
Avoid too many return
statements within this function. Open
Open
return `Unsupported markdown: ${node.type}`;
Avoid too many return
statements within this function. Open
Open
return [
{ x: width, y: 0 },
{ x: 0, y: -midpoint },
{ x: width, y: -height },
];
Avoid too many return
statements within this function. Open
Open
return [
{ x: midpoint, y: -padding },
{ x: midpoint, y: -padding },
{ x: width - midpoint, y: -padding },
{ x: width - midpoint, y: 0 },
Avoid too many return
statements within this function. Open
Open
return [
{ x: 0, y: 0 },
{ x: width, y: -midpoint },
{ x: 0, y: -height },
];
Avoid too many return
statements within this function. Open
Open
return [
{ x: width, y: 0 },
{ x: 0, y: 0 },
{ x: width, y: -height },
];
Avoid too many return
statements within this function. Open
Open
return [
{ x: midpoint, y: 0 },
{ x: midpoint, y: -padding },
{ x: width - midpoint, y: -padding },
{ x: width - midpoint, y: 0 },
Avoid too many return
statements within this function. Open
Open
return [
{ x: 0, y: 0 },
{ x: width, y: 0 },
{ x: 0, y: -height },
];
Avoid too many return
statements within this function. Open
Open
return [
{ x: midpoint, y: 0 },
{ x: midpoint, y: -padding },
// Two points, the right corners
{ x: width - midpoint, y: -padding },
Avoid too many return
statements within this function. Open
Open
return [
{ x: width, y: 0 },
{ x: 0, y: -midpoint },
{ x: 0, y: -height + midpoint },
{ x: width, y: -height },
Avoid too many return
statements within this function. Open
Open
return [
// Bottom center
{ x: width / 2, y: 0 },
// Left pont of bottom arrow
{ x: 0, y: -padding },