lib/diagram/dependency2/builder.js
/**
   * Make diagram elements for network.
   * @param {DependencyNetworkData} networkData - Network data.
   * @returns {Dependency2NodeData} Network as node data.
   * @private
   */
Make diagram elements for network.
@param {DependencyNetworkData} networkData - Network data.
@returns {Dependency2NodeData} Network as node data.
@private
Make diagram elements for network . @param { DependencyNetworkData } networkData - Network data . @returns { Dependency2NodeData } Network as node data . @private
_makeNetworkTypeNodeData(networkData) {
    return {
      visible: true,
      type: 'network',
      name: networkData.name,
      path: networkData.path,
      x: null, 
      y: null,
      parents: [], 
      children: [],
      attribute: networkData.attribute || {}, 
      diffState: networkData.diffState || {} 
    }
  }
_makeNetworkTypeNodeData ( networkData ) { return { visible : true , type : 'network' , name : networkData . name , path : networkData . path , x : null , y : null , parents : [ ] , children : [ ] , attribute : networkData . attribute || { } , diffState : networkData . diffState || { } } }
Make diagram elements for network.
Make diagram elements for network .
// must be initialized // TODO: support-network (parents/children) is ignored (currently) // TODO: network attribute is ignored // TODO: network diffState is ignored