setEvents method

void setEvents(
  1. NodeFlowEvents<T> events
)

Update the events that the controller will use.

This is called internally by the editor widget only.

Parameters:

  • events: The event handlers for node, connection, and annotation events

Implementation

void setEvents(NodeFlowEvents<T> events) {
  _events = events;
}