Skip to content

frontend-web-editor


Variable: UseStore

const UseStore: UseBoundStore<StoreApi<RFState>>

Defined in: app/hooks/bayesianNetwork/mindmap/useStore.ts:84

Global Zustand store for the Mindmap (Bayesian Network) editor.

Exposes nodes/edges and a set of imperative helpers to add/remove nodes, reattach children on deletion, and query relationships (parents/children/labels). It also wires React Flow change handlers to keep state in sync.

Returns

A store with graph state and actions tailored for the mindmap editor.