private IList<Node> GetRelationshipNodes(string direction, string element)
{
if (this.GetLocation() == null || this.Id <= 0)
throw new Exceptions.InvalidNodeException();
RequestResult result = _nodeRepo.GetRelatedNodes(this, direction);
return _nodeRepo.CreateNodeArray(element, result);
}