Skip to content

Commit 0c61eef

Browse files
committed
Removed unused method
1 parent 16e967d commit 0c61eef

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/main/java/tudelft/ti2806/pl3/visualization/FilteredGraphModel.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,25 +110,6 @@ public void calculateCollectInterest(){
110110
collectInterest.calculate(wrappedGraphData.getPositionedNodes());
111111
}
112112

113-
/**
114-
* Finds all the edges on the graph which have one or two nodes which are not on the graph.
115-
*
116-
* @param edgeList
117-
* the list of edges in the graph
118-
* @param nodeList
119-
* the list of nodes in the graph
120-
* @return a list of all dead edges
121-
*/
122-
private static List<Edge> getAllDeadEdges(List<Edge> edgeList, List<DataNode> nodeList) {
123-
List<Edge> removeList = new ArrayList<>();
124-
for (Edge edge : edgeList) {
125-
if (!nodeList.contains(edge.getFrom()) || !nodeList.contains(edge.getTo())) {
126-
removeList.add(edge);
127-
}
128-
}
129-
return removeList;
130-
}
131-
132113
/**
133114
* Apply all filters.
134115
*

0 commit comments

Comments
 (0)