@Override
          public IterationMode nextEdge(final EdgeType edge) {
            edge.getRawEdge()
                .setVisible(edge.getSource().isVisible() && edge.getTarget().isVisible());

            return IterationMode.CONTINUE;
          }
Class to form a single edge out of a number of edges.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/proximity/MultiEdgeHider.java