In this paper we will find all graphs $G$ such that $G$ and its complement (denoted by $\overline G$) are generalized line graphs. We consider only finite undirected graphs without loops or multiple lines.