Navigation
API > API/Plugins > API/Plugins/DataflowEditor > API/Plugins/DataflowEditor/FEditAssetUtils
Description
Create a UDataflowSubGraph that preserves a specific GUID and ForEach state. Restricted to FEditAssetUtils via UDataflowSubGraph friend access so only the paste-from-clipboard path can recreate a subgraph with a non-fresh GUID.
Create a new UDataflowSubGraph that preserves a specific GUID and ForEach state, mirrors the setup done by FEditAssetUtils::AddNewSubGraph (schema, transactional flag, AddSubGraph + Created broadcast). Caller is expected to populate the subgraph's contents via PastePayloadIntoEdGraph afterwards. UniqueName must already be unique.
Lives on FEditAssetUtils so that UDataflowSubGraph's friend-only SetSubGraphGuid setter is reachable here.
| Name | CreateSubGraphWithGuid |
| Type | function |
| Header File | /Engine/Plugins/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowAssetEditUtils.h |
| Include Path | #include "Dataflow/DataflowAssetEditUtils.h" |
| Source | /Engine/Plugins/Dataflow/Source/DataflowEditor/Private/Dataflow/DataflowAssetEditUtils.cpp |
static UDataflowSubGraph * CreateSubGraphWithGuid
(
UDataflow & DataflowAsset,
FName UniqueName,
const FGuid & Guid,
bool bIsForEach
)