private void CreateNewGraph()
        {
            m_stateGraph = new CharacterStateGraph(m_charViewData, this)
            {
                name = "State Graph"
            };

            m_stateGraph.StretchToParentSize();
            ContainerElement.Q <VisualElement>("graph-area").Add(m_stateGraph);
        }
 private void CleanupGraph()
 {
     if (m_stateGraph == null)
     {
         return;
     }
     m_selectedNode = null;
     m_stateGraph.OnGraphHidden();
     ContainerElement.Q <VisualElement>("graph-area").Remove(m_stateGraph);
     m_stateGraph = null;
 }