I wrote:
It is in the form of a directed tree in which each node represents a word and each directed edge represents the relation between a word (a head) and one of its dependents.
I tried to use the same verb and structure in the conjunction, is it preferable? or I should use different structure and verbs to avoid repetition of the verb?
something like:
It is in the form of a directed tree in which each node represents a word and the edges show the relations between the words (head) and their dependents.