I am writing some software documentation. There are data structures that are organized in trees and every element in the structure can be child or parent "to"/"of" every other element.
I am not a native speaker and my instincts are pretty divided on the matter themselves, so I guess I have to turn to higher powers to answer that question. Hence, I turn to you:
Is it "to" or "of" in that case?