Create PCG Graph with Python

Hello? I have a question while writing a script to create a PCG Graph with Python.
I created a PCG Graph with the code below.

import unreal
asset_tools = unreal.AssetToolsHelpers.get_asset_tools()
asset_tools.create_asset('PCG_Test', "/Game/PCG_Graphs", unreal.PCGGraph, unreal.PCGGraphFactory())

I created a PCG Graph with the code below. However, I would like to know how to create and connect nodes such as Get Landscape Data, Surface Sampler, etc. within the PCG Graph using Python.

image

For materials, I can create the desired expression using unreal.MaterialEditingLibrary().create_material_expression.
Is there a function that performs a similar function within the PCG Graph?

Hey there! We actually didn’t look at how Python is interfacing Unreal and if we need to have explicit bindings to expose PCG functions. So It is probably not possible at the moment, unless there are automatic bindings.