/Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMController.h
Note: The functions below are scoped with WITH_EDITOR since we are considering to move this code into the runtime in the future. Right now there's a dependency on the metadata of the USTRUCT - which is only available in the editor. Adds a Function / Struct Node to the edited Graph. UnitNode represent a RIGVM_METHOD declaration on a USTRUCT. This causes a NodeAdded modified event.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=RigVMController) [URigVMUnitNode](API\Plugins\RigVMDeveloper\RigVMModel\Nodes\URigVMUnitNode) * AddUnitNode ( [UScriptStruct](API\Runtime\CoreUObject\UObject\UScriptStruct) * InScriptStruct, const [FName](API\Runtime\Core\UObject\FName) & InMethodName, const FVector2D & InPosition, const [FString](API\Runtime\Core\Containers\FString) & InNodeName, bool bSetupUndoRedo, bool bPrintPythonCommand )