andRelated()

DescriptionGiven an entry, this will return all directly related entries (via any type of relationship) and the entry itself. It's often used with graph() to generate graphs of everything related to a particular entry.
Related Functionsancestors(), andAncestors(), andDescendants(), descendants()