public static FunctionModel CreateFunction(this IGraphModel graphModel, string methodName, Vector2 position,
                                                   SpawnFlags spawnFlags = SpawnFlags.Default, GUID?guid = null)
        {
            graphModel.Stencil.GetSearcherDatabaseProvider().ClearReferenceItemsSearcherDatabases();
            var uniqueMethodName = graphModel.GetUniqueName(methodName);

            return(graphModel.CreateNode <FunctionModel>(uniqueMethodName, position, spawnFlags, guid: guid));
        }