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