/// <summary>
        /// Creates NodeViewModel instance using Node with specified Guid.
        /// </summary>
        public NodeViewModel(IRepository<Node> pRepository, Guid pNodeGuid)
        {
            mRepository = pRepository;
            var node = Repository.Get(n => n.Guid == pNodeGuid);

            ShowNodeInfoCommand = new ShowNodeInfoCommand(this);
            SetupBinding(node);
        }
 /// <summary>
 /// Creates NodeViewModel instance using Node instance.
 /// </summary>
 public NodeViewModel(Node pNode)
 {
     ShowNodeInfoCommand = new ShowNodeInfoCommand(this);
     SetupBinding(pNode);
 }