lib/diagram/dependency2/builder.js
/**
   * Make circles of diagram elements.
   * @private
   */
Make circles of diagram elements.
@private
Make circles of diagram elements . @private
_makeNodeCircles() {
    const updatedEntries = this.rootSVGGroupSelection
      .selectAll('circle.dep2')
      .data(this._allVisibleNodes())
    const enteredEntries = updatedEntries.enter().append('circle')
    updatedEntries.exit().remove()
    const targetEntries = enteredEntries.merge(updatedEntries)
    targetEntries
      .attr('class', (d) => this.classStringFrom(d, `dep2 ${d.type}`))
      .attr('id', (d) => d.path)
      .attr('cx', (d) => d.x + this.pR)
      .attr('cy', (d) => d.y + this.pR)
      .attr('r', this.pR)
  }
_makeNodeCircles ( ) { const updatedEntries = this . rootSVGGroupSelection . selectAll ( 'circle.dep2' ) . data ( this . _allVisibleNodes ( ) ) const enteredEntries = updatedEntries . enter ( ) . append ( 'circle' ) updatedEntries . exit ( ) . remove ( ) const targetEntries = enteredEntries . merge ( updatedEntries ) targetEntries . attr ( 'class' , ( d ) => this . classStringFrom ( d , ` ${ d . type } ` ) ) . attr ( 'id' , ( d ) => d . path ) . attr ( 'cx' , ( d ) => d . x + this . pR ) . attr ( 'cy' , ( d ) => d . y + this . pR ) . attr ( 'r' , this . pR ) }
Make circles of diagram elements.
Make circles of diagram elements .