public static <NodeType extends IGraphNode<NodeType> & ISelectableNode>
      Collection<NodeType> getSuccessors(final NodeType node) {
    final List<NodeType> nodes = new ArrayList<NodeType>();

    nodes.add(node);

    return GraphAlgorithms.getSuccessors(nodes);
  }
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