private void ClearGraph()
        {
            _nodes.Clear();
            _nodeCount = 0;
            if (_inspectorPopup != null)
            {
                _inspectorPopup.Close();
                _inspectorPopup = null;
            }

            Repaint();
        }
 public void OnDoubleClickNode(Node node)
 {
     _inspectorPopup = InspectorPopup.ShowInspectorPopup(_target, node.BehaviourNode);
 }