@Override
  @Nullable
  public Integer getNodeIndex(int nodeId) {
    if (nodeId >= 0 && nodeId < nodesCount()) {
      return nodeId;
    }
    return null;
  }
@Override
  @Nullable
  public Integer getNodeIndex(int nodeId)