  In this paper, we describe the relation between the Turaev--Viro TQFT and the
string-net space introduced in the papers of Levin and Wen. In particular, the
case of surfaces with boundary is considered in detail.
