@Override
          public IterationMode next(final NodeType node) {
            nodes.add(node);
            return IterationMode.CONTINUE;
          }
Creates a list of all selected nodes of the graph.

@param <NodeType> The type of the nodes in the graph.
@param graph The graph in question.
@return All selected nodes of the graph.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/helpers/GraphHelpers.java