add_pcg_subgraph_node
Embed one PCG graph inside another as a Subgraph node to reuse scatter or filter recipes, after checking the host graph uses its input and exposes parameters.
Instructions
Embed one PCG graph inside another as a Subgraph node -- how you reuse a scatter or filter recipe across biomes instead of duplicating nodes, and how you consume a library graph without editing it. Check first with get_pcg_graph_info that the target graph actually USES its input node (a graph with no edges from its default input cannot be fed filtered data and will ignore whatever you wire in), and with get_pcg_graph_parameters whether it exposes anything tunable.
Returns: { graph_name, asset_path, node_name, node_title, subgraph_path, subgraph_set, node_count, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraph_path | Yes | /Game/... path to the UPCGGraph to embed as a subgraph (required) | |
| pcg_graph_path | Yes | /Game/... path to the host UPCGGraph (required) |