findEdgePorts(name, process) {
    if (!process.component) {
      return false;
    }
    const inPorts = process.component.inPorts.ports;
    const outPorts = process.component.outPorts.ports;

    Object.keys(inPorts).forEach((portName) => {
      const port = inPorts[portName];
      const targetPortName = this.isExportedInport(port, name, portName);
      if (typeof targetPortName !== 'string') { return; }
      this.inPorts.add(targetPortName, port);
      this.inPorts.ports[targetPortName].on('connect', () => {
        // Start the network implicitly if we're starting to get data
        if (this.starting || !this.network) { return; }
        if (this.network.isStarted()) { return; }
        if (this.network.startupDate) {
          // Network was started, but did finish. Re-start simply
          this.network.setStarted(true);
          return;
        }
        // Network was never started, start properly
        this.setUp();
      });
    });

    Object.keys(outPorts).forEach((portName) => {
      const port = outPorts[portName];
      const targetPortName = this.isExportedOutport(port, name, portName);
      if (typeof targetPortName !== 'string') { return; }
      this.outPorts.add(targetPortName, port);
    });

    return true;
  }
@param {string} name
@param {import("../lib/BaseNetwork").NetworkProcess} process
@returns {boolean}