startSharing(sentTo, receivedBy) {

    if (sentTo === undefined) {
      this.sentTo = this.nodes.slice(1);
    }
    else {
      this.sentTo = this.nodes.filter(node => sentTo.includes(node.name) || sentTo.includes(node.peerId));
    }

    if (receivedBy !== undefined) {
      this.receivedBy = this.nodes.filter(node => receivedBy.includes(node.name) || receivedBy.includes(node.peerId));
    }

  }
Starts visualizing file transfer
@param {Array} sentTo ids of nodes to which files are being sent
@param {Array} receivedBy ids of nodes from which files are being received