void ChangeCategoryName(GraphData graphData) { AssertHelpers.IsNotNull(graphData, "GraphData is null while carrying out ChangeCategoryNameAction"); graphData.owner.RegisterCompleteObjectUndo("Change Category Name"); graphData.ChangeCategoryName(categoryGuid, newCategoryNameValue); }