/Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGComponent.h
Utility function (mostly for tests) to properly set the value of bIsComponentPartitioned. Will do an immediate cleanup first and then register/unregister the component to the subsystem. It's your responsibility after to regenerate the graph if you want to.
void SetIsPartitioned ( bool bIsNowPartitioned )