plugins_controller._internal_
perfect-graph / Modules / plugins/controller / <internal>
#
Namespace: <internal>#
Table of contents#
Type aliases#
Type aliases#
ControllerStateƬ ControllerState: { onEvent
: (eventInfo
: EventInfo
& { graphEditor
: GraphEditorRef
}, draft
: ControllerState
) => boolean
| void
} & Pick
<GraphEditorProps
, "nodes"
| "edges"
| "mode"
| "selectedElementIds"
| "actionBar"
| "dataBar"
| "settingsBar"
| "graphConfig"
| "playlists"
| "isLoading"
| "modals"
| "events"
| "preferencesModal"
| "isFocusMode"
| "previousDataList"
| "label"
| "networkStatistics"
>
#
Defined in#
UpdateFunctionƬ UpdateFunction: (draft
: ControllerState
, config
: { graphEditorRef
: React.MutableRefObject
<GraphEditorRef
> }) => void
#
Type declarationâ–¸ (draft
, config
): void
#
ParametersName | Type |
---|---|
draft | ControllerState |
config | Object |
config.graphEditorRef | React.MutableRefObject <GraphEditorRef > |
#
Returnsvoid