createNetwork(graph) {
    this.description = graph.properties.description || '';
    this.icon = graph.properties.icon || this.icon;

    const graphObj = graph;
    if (!graphObj.name && this.nodeId) {
      graphObj.name = this.nodeId;
    }

    return noflo.createNetwork(graphObj, {
      delay: true,
      subscribeGraph: false,
      componentLoader: this.loader || undefined,
      baseDir: this.baseDir || undefined,
    })
      .then((network) => {
        this.network = /** @type {import("../lib/Network").Network} */ (network);
        this.emit('network', network);
        // Subscribe to network lifecycle
        this.subscribeNetwork(this.network);
        // Wire the network up
        return network.connect();
      })
      .then((network) => {
        Object.keys(network.processes).forEach((name) => {
          // Map exported ports to local component
          const node = network.processes[name];
          this.findEdgePorts(name, node);
        });
        // Finally set ourselves as "ready"
        this.setToReady();
      });
  }
@param {import("fbp-graph").Graph} graph
@returns {Promise<void>}