@sqlrooms/cosmos / createCosmosSlice
Function: createCosmosSlice()
createCosmosSlice():
StateCreator
<CosmosSliceState
>
Creates a Zustand slice for managing Cosmos graph state. This slice handles graph creation, destruction, configuration, and data updates.
Returns
StateCreator
<CosmosSliceState
>
A state creator function for the Cosmos slice