Create a new product.

        Args:
          name: name of the new product.

        Returns:
          A new product instance.

def new_product(self, name):
        """Create a new product.

        Args:
          name: name of the new product.

        Returns:
          A new product instance.
        """
        n = self._product_cls(self, name, summary_cls=self._summary_cls)
        self.graph.add_node(n)
        self.products.append(n)
        return n