@@ -752,7 +752,7 @@ export class DependencyGraph {
752752
753753 public dependencyQueryVertices : ( vertex : Vertex ) => Maybe < Vertex [ ] > = ( vertex : Vertex ) => {
754754 if ( vertex instanceof RangeVertex ) {
755- return this . rangeDependencyQuery ( vertex ) . map ( ( [ _ , vertex ] ) => vertex )
755+ return this . rangeDependencyQuery ( vertex ) . map ( ( [ _ , v ] ) => v )
756756 } else {
757757 const dependenciesResult = this . formulaDependencyQuery ( vertex )
758758 if ( dependenciesResult !== undefined ) {
@@ -959,8 +959,8 @@ export class DependencyGraph {
959959 } )
960960 }
961961
962- private removeVertexAndCleanupDependencies ( vertex : Vertex ) {
963- const dependencies = new Set ( this . graph . removeNode ( vertex ) )
962+ private removeVertexAndCleanupDependencies ( inputVertex : Vertex ) {
963+ const dependencies = new Set ( this . graph . removeNode ( inputVertex ) )
964964 while ( dependencies . size > 0 ) {
965965 const vertex : Vertex = dependencies . values ( ) . next ( ) . value
966966 dependencies . delete ( vertex )
@@ -977,8 +977,8 @@ export class DependencyGraph {
977977 }
978978 }
979979
980- public getAdjacentNodesAddresses ( vertex : Vertex ) : ( AbsoluteCellRange | SimpleCellAddress ) [ ] {
981- const deps = this . graph . adjacentNodes ( vertex )
980+ public getAdjacentNodesAddresses ( inputVertex : Vertex ) : ( AbsoluteCellRange | SimpleCellAddress ) [ ] {
981+ const deps = this . graph . adjacentNodes ( inputVertex )
982982 const ret : ( AbsoluteCellRange | SimpleCellAddress ) [ ] = [ ]
983983 deps . forEach ( ( vertex : Vertex ) => {
984984 const castVertex = vertex as RangeVertex | FormulaCellVertex | MatrixVertex
0 commit comments