Options
All
  • Public
  • Public/Protected
  • All
Menu
experimental

Class used to represent a flow graph. A flow graph is a graph of blocks that can be used to create complex logic. Blocks can be added to the graph and connected to each other. The graph can then be started, which will init and start all of its event blocks.

Hierarchy

  • FlowGraph

Index

Constructors

  • Construct a Flow Graph

    Parameters

    Returns FlowGraph

Properties

The state of the graph

variableDefinitions: FlowGraphVariableDefinitions

The variables defined for this graph

Methods

  • Add an event block. When the graph is started, it will start listening to events from the block and execute the graph when they are triggered.

    Parameters

    Returns void

  • Create a context. A context represents one self contained execution for the graph, with its own variables.

    Returns FlowGraphContext

    the context, where you can get and set variables

  • dispose(): void
  • Disposes of the flow graph. Cancels any pending tasks and removes all event listeners.

    Returns void

  • start(): void
  • Starts the flow graph. Initializes the event blocks and starts listening to events.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme