karyfoundation/graph

View on GitHub
core/editor/graph.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function GenerateSomeRandomNodes has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        export function GenerateSomeRandomNodes ( howManyNodes: number ) {
            // defs
            const baseUnit = 120;
            const widthUnit = Math.floor( GraphWidth / baseUnit );
            const heightUnit = Math.floor( GraphHeight / baseUnit );
Severity: Minor
Found in core/editor/graph.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status