public NodePropertiesViewModel()
 {
     SelectedNode.GetInstance().PropertyChanged += SelectedNode_PropertyChanged;
 }
 protected T GetAs <T>()
     where T : AbstractNodeViewModel
 {
     return(SelectedNode.GetInstance().GetAs <T>());
 }