public static <NodeType extends IGraphNode<NodeType> & ISelectableNode> void selectPredecessors(
      final ISelectableGraph<NodeType> graph, final NodeType node) {
    graph.selectNodes(GraphAlgorithms.getPredecessors(node), true);
  }
Selects all predecessors of a node.

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