You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not mindset view
Add route for main view: mainroute/node/ref_id
replace selectedNode in useGraphStore with ref_id
for all places where selectedNode is used replace selectedNode with normalizedNode from useDataStore like nodesNormalized.get(ref_id), if node position is required(for example for camera, use normalizedNode along with node from simulation.nodes() from useGraphStore)
for case where we reload the page, or navigate to some link with ref_id, we will get case where graph data is empty, and instead of calling latest etc, we should call getNode src/network/fetchSourcesData/index.ts, and select it after. In other words, when we see ref_id route, we should check if there is node with same ref_id in normalized nodes in useDataStore, and if not get it
The text was updated successfully, but these errors were encountered:
Not mindset view
Add route for main view: mainroute/node/ref_id
The text was updated successfully, but these errors were encountered: