Options
All
  • Public
  • Public/Protected
  • All
Menu

This class holds all of the existing flow graphs and is responsible for creating new ones. It also handles starting/stopping multiple graphs and communication between them through an Event Coordinator

Hierarchy

  • FlowGraphCoordinator

Index

Constructors

Methods

  • Creates a new flow graph and adds it to the list of existing flow graphs

    Returns FlowGraph

    a new flow graph

  • dispose(): void
  • Disposes all graphs

    Returns void

  • getCustomEventObservable(id: string): Observable<any>
  • Get an observable that will be notified when the event with the given id is fired.

    Parameters

    • id: string

      the id of the event

    Returns Observable<any>

    the observable for the event

  • notifyCustomEvent(id: string, data: any): void
  • Notifies the observable for the given event id with the given data.

    Parameters

    • id: string

      the id of the event

    • data: any

      the data to send with the event

    Returns void

  • Removes a flow graph from the list of existing flow graphs and disposes it

    Parameters

    Returns void

  • serialize(serializationObject: any, valueSerializeFunction?: ((key: string, value: any, serializationObject: any) => void)): void
  • Parameters

    • serializationObject: any
    • Optional valueSerializeFunction: ((key: string, value: any, serializationObject: any) => void)
        • (key: string, value: any, serializationObject: any): void
        • Parameters

          • key: string
          • value: any
          • serializationObject: any

          Returns void

    Returns void

  • start(): void
  • Starts all graphs

    Returns void

  • Parameters

    • serializedObject: any
    • scene: Scene
    • Optional valueParseFunction: ((key: string, serializationObject: any, scene: Scene) => any)
        • (key: string, serializationObject: any, scene: Scene): any
        • Parameters

          • key: string
          • serializationObject: any
          • scene: Scene

          Returns any

    Returns FlowGraphCoordinator

Legend

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

Settings

Theme