lib/diagram/common/diagram-base.js
/**
   * Class string of target diagram element.
   * @param {AllNodeData|ForceSimulationNetwork} elementData - Target component.
   * @param {string} classString - Class string to set SVG.
   * @returns {string} Class storing including classes by node state.
   * @protected
   */
Class string of target diagram element.
Class string of target diagram element .
classStringFrom(elementData, classString) {
    const diffState = this._classOfDiffState(elementData)
    const nodeBaseClasses = [
      diffState,
      this._classOfInactive(diffState),
      this._classOfAggregated(elementData)
    ]
    return classString.split(' ').concat(nodeBaseClasses).join(' ')
  }
classStringFrom ( elementData , classString ) { const diffState = this . _classOfDiffState ( elementData ) const nodeBaseClasses = [ diffState , this . _classOfInactive ( diffState ) , this . _classOfAggregated ( elementData ) ] return classString . split ( ' ' ) . concat ( nodeBaseClasses ) . join ( ' ' ) }
Class string of target diagram element.
Class string of target diagram element .