lib/diagram/force-simulation/visualizer.js
/**
   * Draw topology data as diagram.
   * @param {ForceSimulationTopologyData} topologyData - Topology data.
   * @param {TopologyDiagramParam} params
   * @private
   */
Draw topology data as diagram.
@param {ForceSimulationTopologyData} topologyData - Topology data.
@param {TopologyDiagramParam} params
@private
Draw topology data as diagram . @param { ForceSimulationTopologyData } topologyData - Topology data . @param { TopologyDiagramParam } params @private
_drawRfcTopologyData(topologyData, params) {
    this.topologyData = topologyData
    this.storageKey = `netoviz-${params.modelFile}`
    interval(() => {
      this.positionCache.saveTopology(this.storageKey, this.topologyData)
    }, 5000)
    this.uiSideDrawRfcTopologyCallback(this.topologyData)
    this._drawNetworkDiagrams()
    this.highlightByAlert(params.alertHost)
  }
_drawRfcTopologyData ( topologyData , params ) { this . topologyData = topologyData this . storageKey = ` ${ params . modelFile } ` interval ( ( ) => { this . positionCache . saveTopology ( this . storageKey , this . topologyData ) } , 5000 ) this . uiSideDrawRfcTopologyCallback ( this . topologyData ) this . _drawNetworkDiagrams ( ) this . highlightByAlert ( params . alertHost ) }
Draw topology data as diagram.
Draw topology data as diagram .
/**
     * Topology data to draw converted from topology json
     * @type {ForceSimulationTopologyData}
     */ /**
     * set auto save fixed node position function
     * @type {string}
     */ // draw