Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateNodeAction<NodeType>

Action fired to create a new node

Type parameters

  • NodeType

Hierarchy

  • Action
    • CreateNodeAction

Index

Properties

Properties

payload: { consumerData?: NodeType; id: string; position: Position; size: Size; typeId: string }

Type declaration

  • Optional consumerData?: NodeType

    Consumer data that needs to be added for the newly created node.

  • id: string

    ID for the new node that needs to be created. Needs to be unique.

  • position: Position

    Position where the new node will be created.

  • size: Size

    Size of the new node

  • typeId: string

    type ID of the new node. Picked up from the potential node that was used to create this node.

Generated using TypeDoc