File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
redisinsight/ui/src/packages/redisgraph/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1527,7 +1527,7 @@ function GraphD3(_selector: HTMLDivElement, _options: any): IGraphD3 {
1527
1527
( ( ) => {
1528
1528
const result1 = [ ]
1529
1529
for ( i = 0 ; i < nodePair . relationships . length ; i ++ ) {
1530
- relationship = nodePair . relationships [ i ] ;
1530
+ const relationship = nodePair . relationships [ i ] ;
1531
1531
result1 . push (
1532
1532
( relationship . naturalAngle =
1533
1533
( biggestGap . start + ( i + 1 ) * separation - 90 ) % 360 )
@@ -1543,7 +1543,7 @@ function GraphD3(_selector: HTMLDivElement, _options: any): IGraphD3 {
1543
1543
( ( ) => {
1544
1544
const result2 = [ ]
1545
1545
for ( i = 0 ; i < nodePair . relationships . length ; i ++ ) {
1546
- relationship = nodePair . relationships [ i ]
1546
+ const relationship = nodePair . relationships [ i ]
1547
1547
result2 . push ( ( relationship . naturalAngle = i * separation ) )
1548
1548
}
1549
1549
return result2
You can’t perform that action at this time.
0 commit comments