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

Represents a connection point for data. An unconnected input point can have a default value. An output point will only have a value if it is connected to an input point. Furthermore, if the point belongs to a "function" node, the node will run its function to update the value.

Type Parameters

  • T

Hierarchy

Index

Constructors

Properties

_connectionType: FlowGraphConnectionType
name: string
richType: RichType<T>
uniqueId: string

A uniquely identifying string for the connection.

Accessors

  • The type of the connection

    Returns FlowGraphConnectionType

Methods

  • _isSingularConnection(): boolean
  • An output data block can connect to multiple input data blocks, but an input data block can only connect to one output data block.

    Returns boolean

  • Gets the value of the connection in a specific context.

    Parameters

    Returns T

    the value of the connection

  • isConnected(): boolean
  • Returns if a point is connected to any other point.

    Returns boolean

    boolean indicating if the point is connected.

  • Set the value of the connection in a specific context.

    Parameters

    • value: T

      the value to set

    • context: FlowGraphContext

      the context to which the value is set

    Returns void

Legend

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

Settings

Theme