class
ActionGraphExtensions
public static abstract sealed class ActionGraphExtensions Extension methods for action graphs.
Methods
static this Node AddNode(INodeContainer graph, String id) Add a new node to this action graph with the given definition ID.
static this Node AddNode(INodeContainer graph, T func) Add a new node to this action graph, defined by the given method. The method must be already included in NodeLibrary.
graph — Action graph to add a node to. func — Method defining a node. static this Node AddNode(INodeContainer graph, Type declaringType, String methodName) Add a new node to this action graph, defined by the given method. The method must be already included in NodeLibrary.
static this Node AddNode(INodeContainer graph, ExpressionType expressionType) Adds a new node to this action graph, defined by the given expression type.
static this Node AddVariableNode(INodeContainer graph, Variable variable, AssignmentKind? kind = null) static this Node AddConstantNode(INodeContainer graph, Object value) Add a new constant accessor node to this action graph.
static this IReadOnlyList<Link> SetLinks(ActionGraph graph, Input target, ILinkSource[] sources) static this CreateSubGraphResult>? CreateSubGraphAsync(ActionGraph graph, IEnumerable<Node> nodes, JsonSerializerOptions jsonOptions, WriteSubGraphDelegate writeSubGraph) Assembly:
Facepunch.ActionGraphs Namespace: Facepunch.ActionGraphs Full Name: Facepunch.ActionGraphs.ActionGraphExtensions