public GraphStateVariablesViewModel(ObservableGraph graph) : base("State Variables")
        {
            Graph = graph ?? throw new ArgumentNullException(nameof(graph));

            StateVariables = ObservableStateVariable.MakeObservableCollection(Graph, true, ChildIsDirtyChanged);
            StateVariables.CollectionChanged += StateVariables_CollectionChanged;
        }
 public int CompareTo(ObservableStateVariable other)
 {
     return(CompareTo(other as ObservableObject <StateVariable>));
 }
 public bool Equals(ObservableStateVariable other)
 {
     return(Equals(other as ObservableObject <StateVariable>));
 }