# Create a subgraph

When using a subgraph, please create a state or action with the behavior script below.

## SubStateMachine

Have the child state machine and execute when the node becomes active.

- ArborReference : SubStateMachine(StateBehaviour)
- ArborReference : SubStateMachine(ActionBehaviour)

## SubStateMachineReference

Execute an external state machine such as prefab as a child state machine.

- ArborReference : SubStateMachineReference(StateBehaviour)
- ArborReference : SubStateMachineReference(ActionBehaviour)

## SubBehaviourTree

Have a child a behaviour tree and execute it when the node becomes active.

- ArborReference : SubBehaviourTree(StateBehaviour)
- ArborReference : SubBehaviourTree(ActionBehaviour)

## SubBehaviourTreeReference

Execute an external behaviour tree such as prefab as a child behaviour tree.

- ArborReference : SubBehaviourTreeReference(StateBehaviour)
- ArborReference : SubBehaviourTreeReference(ActionBehaviour)