server/graph/nested/aggregated-topology.js
/**
   * Make classifier which combines two (family and layer) classifier.
   * It has all properties specified `params` of a classifier,
   * and combined callback functions to classify a node.
   * @param {Array<DeepNestedNode>} childNodes - Nodes to be classified.
   * @returns {Array<CombinedClassifier>} Array of classifier info.
   * @private
   */
Make classifier which combines two (family and layer) classifier.
It has all properties specified `params` of a classifier,
and combined callback functions to classify a node.
@param {Array} childNodes - Nodes to be classified.
@returns {Array} Array of classifier info.
@private
Make classifier which combines two ( family and layer ) classifier . It has all properties specified ` params ` of a classifier and combined callback functions to classify a node . @param { Array } childNodes - Nodes to be classified . @returns { Array } Array of classifier info . @private
_makeCombinedClassifiers(childNodes) {
    const childrenLayerPaths = this._uniqLayerPaths(childNodes)
    const classifierCombinations = this._makeClassifierProduction(
      this._makeFamilyClassifiers(),
      this._makeLayerClassifiers(childrenLayerPaths)
    )
    return classifierCombinations.map((classifiers) =>
      this._combinedClassifier(classifiers)
    )
  }
_makeCombinedClassifiers ( childNodes ) { const childrenLayerPaths = this . _uniqLayerPaths ( childNodes ) const classifierCombinations = this . _makeClassifierProduction ( this . _makeFamilyClassifiers ( ) , this . _makeLayerClassifiers ( childrenLayerPaths ) ) return classifierCombinations . map ( ( classifiers ) => this . _combinedClassifier ( classifiers ) ) }
Make classifier which combines two (family and layer) classifier.
Make classifier which combines two ( family and layer ) classifier .