Data and state/Data replacement

Replace graph data

Replace the whole graph with setData, then switch layouts.

data.setlayout.runtimestate.visibilityviewport.focus
Live previewLoading example
Loading example
Try itReplace data, switch layouts, hide a node, and focus it from the toolbar.
Loading source…
TypeScript · ESMset-data.ts