Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GraphShapeBuilder<Builder>

Type parameters

Hierarchy

  • GraphShapeBuilder

Index

Constructors

constructor

  • new GraphShapeBuilder<Builder>(graphBuilder: Builder, graph: GraphShape<any, any>, nodes: GraphNode<any, any>[]): GraphShapeBuilder<Builder>

Properties

Protected graph

graph: GraphShape<any, any>

Protected graphBuilder

graphBuilder: Builder

Protected previousNodes

previousNodes: GraphNode<any, any>[]

Static Protected shapes

shapes: Map<string, (...args: any[]) => GraphNode<any, any>> = ...

Methods

buffer

chunk

clone

convertFromSpace

convertToSpace

debounce

delay

filter

filterObjects

flatten

merge

store

  • store(): Builder

to

  • to(...nodes: (string | SinkNode<any>)[]): Builder

via

Protected viaGraph

  • viaGraph(graph: GraphShape<any, any>): GraphNode<any, any>

Static registerShape

  • registerShape(key: string, fn: (...args: any[]) => GraphNode<any, any>): void
  • Parameters

    • key: string
    • fn: (...args: any[]) => GraphNode<any, any>
        • (...args: any[]): GraphNode<any, any>
        • Parameters

          • Rest ...args: any[]

          Returns GraphNode<any, any>

    Returns void