private void DestroyNode(NodeData node)
        {
            LoadedGraph.RemoveNodeById(node.Id);

            Repaint();
            AssetDatabase.SaveAssets();
        }
        public void ClearAllNodes()
        {
            var nodeIds = LoadedGraph.Nodes.Select(x => x.Key);

            for (var i = nodeIds.Count() - 1; i >= 0; i--)
            {
                LoadedGraph.RemoveNodeById(nodeIds.ElementAt(i));
            }

            AssetDatabase.SaveAssets();
        }