Node =>Shared Type

Change the shared node type,
Random: pick a branch randomly when follower is on the shared node
Defined: define a branch for the follower to take when it is on the shared node ,
( Optional ) the left, right, forward, backward are branches keys to define , if no value is defined for these variables, then branch picking decision will become random.

If Animation type is set to "Auto" and type is set to Defined then the only branch options that will be taken into consideration are Forward and Backward branch keys,

public static void Node_Shared_Type(Node node, SharedNodeType sharedNodeType = SharedNodeType.Random
, int left = -1
, int right = -1
, int forward = -1
, int backward = -1)

Example:

// Get the first node of the branch with key 0
var node = SPData.BranchesDict[0].Nodes[0];
//Change node type to defined and set the forward and backward options, left and right are not taken into consideration if animation type is auto
SplinePlusAPI.Node_Shared_Type(SPData, node, SharedNodeType.Defined,-1,-1,3,2);