public void OnOpenGraph(string newGraph, string oldGraph)
            {
                if (!string.IsNullOrEmpty(newGraph))
                {
                    m_recentsGroup.RemoveGraphByGUID(newGraph);
                }

                if (!string.IsNullOrEmpty(oldGraph) && !m_recentsGroup.ContainsGraph(oldGraph))
                {
                    m_recentsGroup.AddByIndex(0, oldGraph);
                    if (m_recentsGroup.NumElements > NUM_RECENTS)
                    {
                        int diff = m_recentsGroup.NumElements - NUM_RECENTS;
                        for (int i = 0; i < diff; i++)
                        {
                            m_recentsGroup.RemoveByIndex(m_recentsGroup.NumElements - 1);
                        }
                    }
                }
            }
 public void RemoveGraphFromFavorites(string guid)
 {
     m_favoritesGroup.RemoveGraphByGUID(guid);
 }