From [Rodney Huddleston Geoffrey K Pullum. (2017). The Cambridge Grammar of the English Language. p.23.]
We can represent the structure of sentences in more detail than is done in a diagram like [2] if we show the category to which each constituent belongs, as in [6].
Should it be detail(than detail is represented in a diagram), or the structure(than the structure is represented in a diagram)?
Syntactically, the detail is more appropriate,but,semantically,the structure is more appropriate.