lib/diagram/force-simulation/visualizer.js
/**
   * Get topology data using gRPC API and draw its diagram.
   * @param {TopologyDiagramParam} params
   * @private
   */
Get topology data using gRPC API and draw its diagram.
@param {TopologyDiagramParam} params
@private
Get topology data using gRPC API and draw its diagram . @param { TopologyDiagramParam } params @private
_getGraphDataViaGRPC(params) {
    grpcClient(this.apiParam.grpcURIBase)
      .getGraphData(`FORCE_SIMULATION`, params)
      .then(
        (response) => {
          const topologyData = JSON.parse(response.getJson())
          this._drawRfcTopologyData(topologyData, params)
        },
        (error) => {
          throw error
        }
      )
  }
_getGraphDataViaGRPC ( params ) { grpcClient ( this . apiParam . grpcURIBase ) . getGraphData ( ` ` , params ) . then ( ( response ) => { const topologyData = JSON . parse ( response . getJson ( ) ) this . _drawRfcTopologyData ( topologyData , params ) } , ( error ) => { throw error } ) }
Get topology data using gRPC API and draw its diagram.
Get topology data using gRPC API and draw its diagram .