public static boolean isEdgeDown(@NotNull GraphEdge edge, int nodeIndex) {
    return intEqual(edge.getUpNodeIndex(), nodeIndex);
  }
public static boolean isEdgeDown(@NotNull GraphEdge edge, int nodeIndex)