Crossplay Integration Kit
Tools

EditGraph

Edit Blueprint and Material graphs with AI

The EditGraph tool modifies graph logic by adding nodes, setting pin values, and creating connections.

Capabilities

Add Nodes

Add nodes to any graph using spawner IDs:

Add a Print String node
Add a Branch node
Add a ForEachLoop node
Add a Delay node with Duration 2.0

Set Pin Values

Configure node inputs:

Set the Duration pin on the Delay node to 1.5
Set the Condition pin on Branch to a variable reference
Set the Message pin on PrintString to "Hello World"

Create Connections

Connect nodes together:

Connect the output of GetHealth to the input of PrintString
Connect Branch True to the Delay node
Connect the loop body output to PrintString

The tool uses a 3-tier connection fallback:

  1. Direct connection (same types)
  2. Promotion (e.g., int to float)
  3. Conversion nodes (e.g., int to string)

Break Connections

Disconnect the Branch True pin
Break all connections on the Delay node

Supported Graph Types

Graph TypeAdd NodesSet PinsConnect
Blueprint Event GraphYesYesYes
Blueprint FunctionsYesYesYes
Material GraphYesPropertiesYes
Material FunctionsYesPropertiesYes
AnimBlueprint AnimGraphYesYesYes
AnimBlueprint EventGraphYesYesYes

Finding Nodes

Use the FindNode tool to discover available nodes:

Find nodes related to "string format"
Find all comparison nodes
Find nodes for getting actor location

Node Naming

The tool tracks nodes by name in a session registry. Reference nodes by:

  • Generated names: PrintString_a1b2c3d4
  • Custom names you assign: MyDelayNode

Smart Positioning

Nodes are automatically positioned to avoid overlap. The tool finds empty space near existing nodes.

Example: Complete Function

In BP_Enemy, in the TakeDamage function:
1. Add a Subtract node
2. Connect CurrentHealth to Subtract A
3. Connect the Amount parameter to Subtract B
4. Add a Set node for CurrentHealth
5. Connect Subtract output to Set input
6. Add a Branch node
7. Add a LessEqual node
8. Connect CurrentHealth to LessEqual A
9. Set LessEqual B to 0
10. Connect LessEqual to Branch Condition
11. Add Call to Die function on Branch True

Material Graphs

For materials, set expression properties instead of pin values:

In M_BasicMaterial:
- Add a Constant3Vector node with value (1, 0, 0)
- Add a Multiply node
- Connect the color to Multiply A
- Add a ScalarParameter called Intensity
- Connect Intensity to Multiply B
- Connect Multiply to Base Color

On this page