}
for (CyEdge e : net.getEdgeList()) {
final View<CyEdge> ev = netView.getEdgeView(e);
if (ev == null)
continue; // Should never happen!
<BUG>boolean show = edgesToShow.contains(e) && nodesToShow.contains(e.getSource())
&& nodesToShow.contains(e.getTarget());

if (show) {</BUG>
ev.clearValueLock(EDGE_VISIBLE);

}
}
}
for (CyEdge e : net.getEdgeList()) {
final View<CyEdge> ev = netView.getEdgeView(e);
if (ev == null)
continue; // Should never happen!
boolean filteredIn = filteredInEdges.contains(e) && filteredInNodes.contains(e.getSource())
&& filteredInNodes.contains(e.getTarget());
ev.clearValueLock(EDGE_VISIBLE);
