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
Parameters#
| Name | Type |
|---|---|
draft | ControllerState |
config | Object |
config.graphEditorRef | React.MutableRefObject<GraphEditorRef> |
Returns#
void