﻿using UnityEditor.Experimental.GraphView;

namespace JLGames.RocketDriver.Editor.Infra
{
    public static class ExtGraphView
    {
        public static void ClearElements(this GraphView view)
        {
            var elements = view.graphElements.ToList();
            view.DeleteElements(elements);
        }
    }
}