[{"data":1,"prerenderedAt":1261},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:k8cuuA3qJLsLvTx-MDIwhS_OiJ2HHaDDDAyk2WGN_WA":303,"content-page-surround:docs:k8cuuA3qJLsLvTx-MDIwhS_OiJ2HHaDDDAyk2WGN_WA":1249,"i-logos:typescript-icon":1254,"i-lucide:clipboard":1258},[4,28,54,100,176,215,278,298],{"title":5,"page":6,"canonicalKey":7,"locale":8,"id":9,"draft":6,"icon":10,"sidebar":11,"children":12},"Learn",false,"1","en","content:docs:1.evaluate:.navigation.yml","i-lucide-compass","section",[13,18,23],{"title":14,"id":15,"canonicalKey":16,"locale":8,"draft":6,"path":17},"Why Nuxt Board","content:docs:1.evaluate:1.why-nuxt-board.md","1\u002F1","\u002Fdocs\u002Fevaluate\u002Fwhy-nuxt-board",{"title":19,"id":20,"canonicalKey":21,"locale":8,"draft":6,"path":22},"How Nuxt Board works","content:docs:1.evaluate:2.how-nuxt-board-works.md","1\u002F2","\u002Fdocs\u002Fevaluate\u002Fhow-nuxt-board-works",{"title":24,"id":25,"canonicalKey":26,"locale":8,"draft":6,"path":27},"Design decisions","content:docs:1.evaluate:4.design-decisions.md","1\u002F4","\u002Fdocs\u002Fevaluate\u002Fdesign-decisions",{"title":29,"page":6,"canonicalKey":30,"locale":8,"id":31,"draft":6,"icon":32,"children":33},"Start building","2","content:docs:2.start-building:.navigation.yml","i-lucide-rocket",[34,39,44,49],{"title":35,"id":36,"canonicalKey":37,"locale":8,"draft":6,"path":38},"Installation","content:docs:2.start-building:1.installation.md","2\u002F1","\u002Fdocs\u002Fstart-building\u002Finstallation",{"title":40,"id":41,"canonicalKey":42,"locale":8,"draft":6,"path":43},"Your first board","content:docs:2.start-building:2.your-first-board.md","2\u002F2","\u002Fdocs\u002Fstart-building\u002Fyour-first-board",{"title":45,"id":46,"canonicalKey":47,"locale":8,"draft":6,"path":48},"Customize your first node","content:docs:2.start-building:3.customize-your-first-node.md","2\u002F3","\u002Fdocs\u002Fstart-building\u002Fcustomize-your-first-node",{"title":50,"id":51,"canonicalKey":52,"locale":8,"draft":6,"path":53},"Add connections and history","content:docs:2.start-building:4.add-connections-and-history.md","2\u002F4","\u002Fdocs\u002Fstart-building\u002Fadd-connections-and-history",{"title":55,"page":6,"canonicalKey":56,"locale":8,"id":57,"draft":6,"icon":58,"children":59},"Understand the system","3","content:docs:3.understand-the-system:.navigation.yml","i-lucide-workflow",[60,65,70,75,80,85,90,95],{"title":61,"id":62,"canonicalKey":63,"locale":8,"draft":6,"path":64},"The engine","content:docs:3.understand-the-system:1.the-engine.md","3\u002F1","\u002Fdocs\u002Funderstand-the-system\u002Fthe-engine",{"title":66,"id":67,"canonicalKey":68,"locale":8,"draft":6,"path":69},"Document and session state","content:docs:3.understand-the-system:2.document-and-session-state.md","3\u002F2","\u002Fdocs\u002Funderstand-the-system\u002Fdocument-and-session-state",{"title":71,"id":72,"canonicalKey":73,"locale":8,"draft":6,"path":74},"Commands and transactions","content:docs:3.understand-the-system:3.commands-and-transactions.md","3\u002F3","\u002Fdocs\u002Funderstand-the-system\u002Fcommands-and-transactions",{"title":76,"id":77,"canonicalKey":78,"locale":8,"draft":6,"path":79},"Nodes and hierarchy","content:docs:3.understand-the-system:4.nodes-and-hierarchy.md","3\u002F4","\u002Fdocs\u002Funderstand-the-system\u002Fnodes-and-hierarchy",{"title":81,"id":82,"canonicalKey":83,"locale":8,"draft":6,"path":84},"Camera and coordinates","content:docs:3.understand-the-system:5.camera-and-coordinates.md","3\u002F5","\u002Fdocs\u002Funderstand-the-system\u002Fcamera-and-coordinates",{"title":86,"id":87,"canonicalKey":88,"locale":8,"draft":6,"path":89},"Rendering and interaction","content:docs:3.understand-the-system:6.rendering-and-interaction.md","3\u002F6","\u002Fdocs\u002Funderstand-the-system\u002Frendering-and-interaction",{"title":91,"id":92,"canonicalKey":93,"locale":8,"draft":6,"path":94},"Packages and plugins","content:docs:3.understand-the-system:7.packages-and-plugins.md","3\u002F7","\u002Fdocs\u002Funderstand-the-system\u002Fpackages-and-plugins",{"title":96,"id":97,"canonicalKey":98,"locale":8,"draft":6,"path":99},"Persistence and JSON Canvas","content:docs:3.understand-the-system:8.persistence-and-json-canvas.md","3\u002F8","\u002Fdocs\u002Funderstand-the-system\u002Fpersistence-and-json-canvas",{"title":101,"page":6,"canonicalKey":102,"locale":8,"id":103,"draft":6,"icon":104,"sidebar":11,"children":105},"Build","4","content:docs:4.build-features:.navigation.yml","i-lucide-blocks",[106,113,120,127,134,141,148,155,162,169],{"title":107,"id":108,"canonicalKey":109,"locale":8,"draft":6,"navigation":110,"icon":111,"path":112},"Custom renderers","content:docs:4.build-features:1.custom-node-renderers.md","4\u002F1",{"icon":111},"i-lucide-layout-template","\u002Fdocs\u002Fbuild-features\u002Fcustom-node-renderers",{"title":114,"id":115,"canonicalKey":116,"locale":8,"draft":6,"navigation":117,"icon":118,"path":119},"Connections","content:docs:4.build-features:2.connections.md","4\u002F2",{"icon":118},"i-lucide-cable","\u002Fdocs\u002Fbuild-features\u002Fconnections",{"title":121,"id":122,"canonicalKey":123,"locale":8,"draft":6,"navigation":124,"icon":125,"path":126},"Group nodes","content:docs:4.build-features:3.groups-and-nesting.md","4\u002F3",{"icon":125},"i-lucide-group","\u002Fdocs\u002Fbuild-features\u002Fgroups-and-nesting",{"title":128,"id":129,"canonicalKey":130,"locale":8,"draft":6,"navigation":131,"icon":132,"path":133},"History","content:docs:4.build-features:4.undo-and-redo.md","4\u002F4",{"icon":132},"i-lucide-history","\u002Fdocs\u002Fbuild-features\u002Fundo-and-redo",{"title":135,"id":136,"canonicalKey":137,"locale":8,"draft":6,"navigation":138,"icon":139,"path":140},"Selection and interaction","content:docs:4.build-features:5.selection-and-keyboard.md","4\u002F5",{"icon":139},"i-lucide-mouse-pointer","\u002Fdocs\u002Fbuild-features\u002Fselection-and-keyboard",{"title":142,"id":143,"canonicalKey":144,"locale":8,"draft":6,"navigation":145,"icon":146,"path":147},"First-party features and command guards","content:docs:4.build-features:6.read-only-and-command-guards.md","4\u002F6",{"icon":146},"i-lucide-puzzle","\u002Fdocs\u002Fbuild-features\u002Fread-only-and-command-guards",{"title":149,"id":150,"canonicalKey":151,"locale":8,"draft":6,"navigation":152,"icon":153,"path":154},"Serialization","content:docs:4.build-features:7.save-and-load.md","4\u002F7",{"icon":153},"i-lucide-file-json","\u002Fdocs\u002Fbuild-features\u002Fsave-and-load",{"title":156,"id":157,"canonicalKey":158,"locale":8,"draft":6,"navigation":159,"icon":160,"path":161},"Theming","content:docs:4.build-features:8.theming.md","4\u002F8",{"icon":160},"i-lucide-palette","\u002Fdocs\u002Fbuild-features\u002Ftheming",{"title":163,"id":164,"canonicalKey":165,"locale":8,"draft":6,"navigation":166,"icon":167,"path":168},"Performance","content:docs:4.build-features:9.performance.md","4\u002F9",{"icon":167},"i-lucide-zap","\u002Fdocs\u002Fbuild-features\u002Fperformance",{"title":170,"id":171,"canonicalKey":172,"locale":8,"draft":6,"navigation":173,"icon":174,"path":175},"SSR deterministic scene","content:docs:4.build-features:10.ssr-and-deterministic-state.md","4\u002F10",{"icon":174},"i-lucide-server","\u002Fdocs\u002Fbuild-features\u002Fssr-and-deterministic-state",{"title":177,"page":6,"canonicalKey":178,"locale":8,"id":179,"draft":6,"icon":111,"children":180},"Solutions","5","content:docs:5.solutions:.navigation.yml",[181,187,194,201,208],{"title":182,"id":183,"canonicalKey":184,"locale":8,"draft":6,"navigation":185,"icon":58,"path":186},"Workflow renderer demo","content:docs:5.solutions:1.workflow-builder.md","5\u002F1",{"icon":58},"\u002Fdocs\u002Fsolutions\u002Fworkflow-builder",{"title":188,"id":189,"canonicalKey":190,"locale":8,"draft":6,"navigation":191,"icon":192,"path":193},"Mind map","content:docs:5.solutions:2.mind-map.md","5\u002F2",{"icon":192},"i-lucide-brain","\u002Fdocs\u002Fsolutions\u002Fmind-map",{"title":195,"id":196,"canonicalKey":197,"locale":8,"draft":6,"navigation":198,"icon":199,"path":200},"Planning board","content:docs:5.solutions:3.planning-board.md","5\u002F3",{"icon":199},"i-lucide-square","\u002Fdocs\u002Fsolutions\u002Fplanning-board",{"title":202,"id":203,"canonicalKey":204,"locale":8,"draft":6,"navigation":205,"icon":206,"path":207},"Read-only viewer","content:docs:5.solutions:4.read-only-viewer.md","5\u002F4",{"icon":206},"i-lucide-eye","\u002Fdocs\u002Fsolutions\u002Fread-only-viewer",{"title":209,"id":210,"canonicalKey":211,"locale":8,"draft":6,"navigation":212,"icon":213,"path":214},"Nuxt auto-imports","content:docs:5.solutions:5.nuxt-application.md","5\u002F5",{"icon":213},"i-lucide-sparkles","\u002Fdocs\u002Fsolutions\u002Fnuxt-application",{"title":216,"page":6,"canonicalKey":217,"locale":8,"id":218,"draft":6,"icon":219,"children":220},"Reference","6","content:docs:6.reference:.navigation.yml","i-lucide-braces",[221,226,231,236,241,246,251,256,261,266,273],{"title":222,"id":223,"canonicalKey":224,"locale":8,"draft":6,"path":225},"Package overview","content:docs:6.reference:1.package-overview.md","6\u002F1","\u002Fdocs\u002Freference\u002Fpackage-overview",{"title":227,"id":228,"canonicalKey":229,"locale":8,"draft":6,"path":230},"@lupinum\u002Fboard-core","content:docs:6.reference:2.board-core.md","6\u002F2","\u002Fdocs\u002Freference\u002Fboard-core",{"title":232,"id":233,"canonicalKey":234,"locale":8,"draft":6,"path":235},"@lupinum\u002Fboard-core types","content:docs:6.reference:3.board-core-types.md","6\u002F3","\u002Fdocs\u002Freference\u002Fboard-core-types",{"title":237,"id":238,"canonicalKey":239,"locale":8,"draft":6,"path":240},"@lupinum\u002Fvue-board","content:docs:6.reference:4.vue-board.md","6\u002F4","\u002Fdocs\u002Freference\u002Fvue-board",{"title":242,"id":243,"canonicalKey":244,"locale":8,"draft":6,"path":245},"Vue composables","content:docs:6.reference:5.vue-composables.md","6\u002F5","\u002Fdocs\u002Freference\u002Fvue-composables",{"title":247,"id":248,"canonicalKey":249,"locale":8,"draft":6,"path":250},"@lupinum\u002Fboard-connections","content:docs:6.reference:6.connections.md","6\u002F6","\u002Fdocs\u002Freference\u002Fconnections",{"title":252,"id":253,"canonicalKey":254,"locale":8,"draft":6,"path":255},"@lupinum\u002Fboard-history","content:docs:6.reference:7.history.md","6\u002F7","\u002Fdocs\u002Freference\u002Fhistory",{"title":257,"id":258,"canonicalKey":259,"locale":8,"draft":6,"path":260},"@lupinum\u002Fvue-board\u002Fminimap","content:docs:6.reference:8.minimap.md","6\u002F8","\u002Fdocs\u002Freference\u002Fminimap",{"title":262,"id":263,"canonicalKey":264,"locale":8,"draft":6,"path":265},"@lupinum\u002Fnuxt-board","content:docs:6.reference:9.nuxt-board.md","6\u002F9","\u002Fdocs\u002Freference\u002Fnuxt-board",{"title":267,"id":268,"canonicalKey":269,"locale":8,"draft":6,"navigation":270,"icon":271,"path":272},"Events and subscriptions","content:docs:6.reference:10.events-and-errors.md","6\u002F10",{"icon":271},"i-lucide-bell","\u002Fdocs\u002Freference\u002Fevents-and-errors",{"title":274,"id":275,"canonicalKey":276,"locale":8,"draft":6,"path":277},"Glossary","content:docs:6.reference:11.glossary.md","6\u002F11","\u002Fdocs\u002Freference\u002Fglossary",{"title":279,"page":6,"canonicalKey":280,"locale":8,"id":281,"draft":6,"icon":282,"children":283},"Project","7","content:docs:7.project:.navigation.yml","i-lucide-git-branch",[284,291],{"title":285,"id":286,"canonicalKey":287,"locale":8,"draft":6,"navigation":288,"icon":289,"path":290},"Contributing","content:docs:7.project:1.contributing.md","7\u002F1",{"icon":289},"i-lucide-git-pull-request","\u002Fdocs\u002Fproject\u002Fcontributing",{"title":292,"id":293,"canonicalKey":294,"locale":8,"draft":6,"navigation":295,"icon":296,"path":297},"Support and security","content:docs:7.project:2.support-and-security.md","7\u002F2",{"icon":296},"i-lucide-shield","\u002Fdocs\u002Fproject\u002Fsupport-and-security",{"title":299,"id":300,"canonicalKey":301,"locale":8,"draft":6,"path":302},"Nuxt Board documentation","content:docs:index.md","\u002F","\u002Fdocs",{"audience":304,"intent":305,"title":128,"description":306,"navigation":307,"body":308,"type":1236,"id":129,"canonicalKey":130,"draft":6,"partial":6,"locale":8,"collection":1237,"navigationFile":6,"file":1238,"route":1244,"resolution":1246},"application-developer","build","Record state changes and navigate them with the history plugin.",{"icon":132},{"type":309,"children":310,"toc":1223},"root",[311,319,326,491,498,568,574,833,859,908,927,942],{"type":312,"tag":313,"props":314,"children":315},"element","p",{},[316],{"type":317,"value":318},"text","The history plugin stores references to committed structural roots. Undo and redo restore those roots atomically, without inverse actions, replay ordering, or timers. A completed gesture or explicit batch is one deterministic undo step.",{"type":312,"tag":320,"props":321,"children":323},"h2",{"id":322},"setup",[324],{"type":317,"value":325},"Setup",{"type":312,"tag":327,"props":328,"children":331},"pre",{"language":329,"class":330},"ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[332],{"type":312,"tag":333,"props":334,"children":336},"code",{"class":335},"language-ts",[337,377,379,408,409,412,413,443,444,482,483],{"type":312,"tag":338,"props":339,"children":342},"span",{"class":340,"style":341},"line","display: inline",[343,349,355,361,366,371],{"type":312,"tag":338,"props":344,"children":346},{"style":345},"color:#AF00DB;--shiki-dark:#C586C0",[347],{"type":317,"value":348},"import",{"type":312,"tag":338,"props":350,"children":352},{"style":351},"color:#000000;--shiki-dark:#D4D4D4",[353],{"type":317,"value":354}," { ",{"type":312,"tag":338,"props":356,"children":358},{"style":357},"color:#001080;--shiki-dark:#9CDCFE",[359],{"type":317,"value":360},"createBoardEngine",{"type":312,"tag":338,"props":362,"children":363},{"style":351},[364],{"type":317,"value":365}," } ",{"type":312,"tag":338,"props":367,"children":368},{"style":345},[369],{"type":317,"value":370},"from",{"type":312,"tag":338,"props":372,"children":374},{"style":373},"color:#A31515;--shiki-dark:#CE9178",[375],{"type":317,"value":376}," '@lupinum\u002Fboard-core'",{"type":317,"value":378},"\n",{"type":312,"tag":338,"props":380,"children":381},{"class":340,"style":341},[382,386,390,395,399,403],{"type":312,"tag":338,"props":383,"children":384},{"style":345},[385],{"type":317,"value":348},{"type":312,"tag":338,"props":387,"children":388},{"style":351},[389],{"type":317,"value":354},{"type":312,"tag":338,"props":391,"children":392},{"style":357},[393],{"type":317,"value":394},"historyPlugin",{"type":312,"tag":338,"props":396,"children":397},{"style":351},[398],{"type":317,"value":365},{"type":312,"tag":338,"props":400,"children":401},{"style":345},[402],{"type":317,"value":370},{"type":312,"tag":338,"props":404,"children":405},{"style":373},[406],{"type":317,"value":407}," '@lupinum\u002Fboard-history'",{"type":317,"value":378},{"type":312,"tag":338,"props":410,"children":411},{"class":340,"style":341},[],{"type":317,"value":378},{"type":312,"tag":338,"props":414,"children":415},{"class":340,"style":341},[416,422,428,433,438],{"type":312,"tag":338,"props":417,"children":419},{"style":418},"color:#0000FF;--shiki-dark:#569CD6",[420],{"type":317,"value":421},"const",{"type":312,"tag":338,"props":423,"children":425},{"style":424},"color:#0070C1;--shiki-dark:#4FC1FF",[426],{"type":317,"value":427}," engine",{"type":312,"tag":338,"props":429,"children":430},{"style":351},[431],{"type":317,"value":432}," = ",{"type":312,"tag":338,"props":434,"children":436},{"style":435},"color:#795E26;--shiki-dark:#DCDCAA",[437],{"type":317,"value":360},{"type":312,"tag":338,"props":439,"children":440},{"style":351},[441],{"type":317,"value":442},"({",{"type":317,"value":378},{"type":312,"tag":338,"props":445,"children":446},{"class":340,"style":341},[447,452,457,461,466,471,477],{"type":312,"tag":338,"props":448,"children":449},{"style":357},[450],{"type":317,"value":451},"  plugins:",{"type":312,"tag":338,"props":453,"children":454},{"style":351},[455],{"type":317,"value":456}," [",{"type":312,"tag":338,"props":458,"children":459},{"style":435},[460],{"type":317,"value":394},{"type":312,"tag":338,"props":462,"children":463},{"style":351},[464],{"type":317,"value":465},"({ ",{"type":312,"tag":338,"props":467,"children":468},{"style":357},[469],{"type":317,"value":470},"maxSteps:",{"type":312,"tag":338,"props":472,"children":474},{"style":473},"color:#098658;--shiki-dark:#B5CEA8",[475],{"type":317,"value":476}," 100",{"type":312,"tag":338,"props":478,"children":479},{"style":351},[480],{"type":317,"value":481}," })],",{"type":317,"value":378},{"type":312,"tag":338,"props":484,"children":485},{"class":340,"style":341},[486],{"type":312,"tag":338,"props":487,"children":488},{"style":351},[489],{"type":317,"value":490},"})",{"type":312,"tag":492,"props":493,"children":495},"h3",{"id":494},"setup-plugin-options",[496],{"type":317,"value":497},"Plugin options",{"type":312,"tag":499,"props":500,"children":501},"table",{},[502,531],{"type":312,"tag":503,"props":504,"children":505},"thead",{},[506],{"type":312,"tag":507,"props":508,"children":509},"tr",{},[510,516,521,526],{"type":312,"tag":511,"props":512,"children":513},"th",{},[514],{"type":317,"value":515},"Option",{"type":312,"tag":511,"props":517,"children":518},{},[519],{"type":317,"value":520},"Type",{"type":312,"tag":511,"props":522,"children":523},{},[524],{"type":317,"value":525},"Default",{"type":312,"tag":511,"props":527,"children":528},{},[529],{"type":317,"value":530},"Purpose",{"type":312,"tag":532,"props":533,"children":534},"tbody",{},[535],{"type":312,"tag":507,"props":536,"children":537},{},[538,547,555,563],{"type":312,"tag":539,"props":540,"children":541},"td",{},[542],{"type":312,"tag":333,"props":543,"children":544},{},[545],{"type":317,"value":546},"maxSteps",{"type":312,"tag":539,"props":548,"children":549},{},[550],{"type":312,"tag":333,"props":551,"children":552},{},[553],{"type":317,"value":554},"number",{"type":312,"tag":539,"props":556,"children":557},{},[558],{"type":312,"tag":333,"props":559,"children":560},{},[561],{"type":317,"value":562},"200",{"type":312,"tag":539,"props":564,"children":565},{},[566],{"type":317,"value":567},"Maximum undo steps to keep. Older entries are dropped.",{"type":312,"tag":320,"props":569,"children":571},{"id":570},"undo-and-redo",[572],{"type":317,"value":573},"Undo and redo",{"type":312,"tag":327,"props":575,"children":576},{"language":329,"class":330},[577],{"type":312,"tag":333,"props":578,"children":579},{"class":335},[580,621,622,658,659,662,663,710,711,720,721,729,730,733,734,783,784,792,793,796,797],{"type":312,"tag":338,"props":581,"children":582},{"class":340,"style":341},[583,588,593,598,602,607,611,616],{"type":312,"tag":338,"props":584,"children":585},{"style":357},[586],{"type":317,"value":587},"engine",{"type":312,"tag":338,"props":589,"children":590},{"style":351},[591],{"type":317,"value":592},".",{"type":312,"tag":338,"props":594,"children":595},{"style":357},[596],{"type":317,"value":597},"plugins",{"type":312,"tag":338,"props":599,"children":600},{"style":351},[601],{"type":317,"value":592},{"type":312,"tag":338,"props":603,"children":604},{"style":357},[605],{"type":317,"value":606},"history",{"type":312,"tag":338,"props":608,"children":609},{"style":351},[610],{"type":317,"value":592},{"type":312,"tag":338,"props":612,"children":613},{"style":435},[614],{"type":317,"value":615},"undo",{"type":312,"tag":338,"props":617,"children":618},{"style":351},[619],{"type":317,"value":620},"()",{"type":317,"value":378},{"type":312,"tag":338,"props":623,"children":624},{"class":340,"style":341},[625,629,633,637,641,645,649,654],{"type":312,"tag":338,"props":626,"children":627},{"style":357},[628],{"type":317,"value":587},{"type":312,"tag":338,"props":630,"children":631},{"style":351},[632],{"type":317,"value":592},{"type":312,"tag":338,"props":634,"children":635},{"style":357},[636],{"type":317,"value":597},{"type":312,"tag":338,"props":638,"children":639},{"style":351},[640],{"type":317,"value":592},{"type":312,"tag":338,"props":642,"children":643},{"style":357},[644],{"type":317,"value":606},{"type":312,"tag":338,"props":646,"children":647},{"style":351},[648],{"type":317,"value":592},{"type":312,"tag":338,"props":650,"children":651},{"style":435},[652],{"type":317,"value":653},"redo",{"type":312,"tag":338,"props":655,"children":656},{"style":351},[657],{"type":317,"value":620},{"type":317,"value":378},{"type":312,"tag":338,"props":660,"children":661},{"class":340,"style":341},[],{"type":317,"value":378},{"type":312,"tag":338,"props":664,"children":665},{"class":340,"style":341},[666,671,676,680,684,688,692,696,700,705],{"type":312,"tag":338,"props":667,"children":668},{"style":345},[669],{"type":317,"value":670},"if",{"type":312,"tag":338,"props":672,"children":673},{"style":351},[674],{"type":317,"value":675}," (",{"type":312,"tag":338,"props":677,"children":678},{"style":357},[679],{"type":317,"value":587},{"type":312,"tag":338,"props":681,"children":682},{"style":351},[683],{"type":317,"value":592},{"type":312,"tag":338,"props":685,"children":686},{"style":357},[687],{"type":317,"value":597},{"type":312,"tag":338,"props":689,"children":690},{"style":351},[691],{"type":317,"value":592},{"type":312,"tag":338,"props":693,"children":694},{"style":357},[695],{"type":317,"value":606},{"type":312,"tag":338,"props":697,"children":698},{"style":351},[699],{"type":317,"value":592},{"type":312,"tag":338,"props":701,"children":702},{"style":435},[703],{"type":317,"value":704},"canUndo",{"type":312,"tag":338,"props":706,"children":707},{"style":351},[708],{"type":317,"value":709},"()) {",{"type":317,"value":378},{"type":312,"tag":338,"props":712,"children":713},{"class":340,"style":341},[714],{"type":312,"tag":338,"props":715,"children":717},{"style":716},"color:#008000;--shiki-dark:#6A9955",[718],{"type":317,"value":719},"  \u002F* ... *\u002F",{"type":317,"value":378},{"type":312,"tag":338,"props":722,"children":723},{"class":340,"style":341},[724],{"type":312,"tag":338,"props":725,"children":726},{"style":351},[727],{"type":317,"value":728},"}",{"type":317,"value":378},{"type":312,"tag":338,"props":731,"children":732},{"class":340,"style":341},[],{"type":317,"value":378},{"type":312,"tag":338,"props":735,"children":736},{"class":340,"style":341},[737,741,746,750,754,758,762,766,770,774,779],{"type":312,"tag":338,"props":738,"children":739},{"style":418},[740],{"type":317,"value":421},{"type":312,"tag":338,"props":742,"children":743},{"style":424},[744],{"type":317,"value":745}," state",{"type":312,"tag":338,"props":747,"children":748},{"style":351},[749],{"type":317,"value":432},{"type":312,"tag":338,"props":751,"children":752},{"style":357},[753],{"type":317,"value":587},{"type":312,"tag":338,"props":755,"children":756},{"style":351},[757],{"type":317,"value":592},{"type":312,"tag":338,"props":759,"children":760},{"style":357},[761],{"type":317,"value":597},{"type":312,"tag":338,"props":763,"children":764},{"style":351},[765],{"type":317,"value":592},{"type":312,"tag":338,"props":767,"children":768},{"style":357},[769],{"type":317,"value":606},{"type":312,"tag":338,"props":771,"children":772},{"style":351},[773],{"type":317,"value":592},{"type":312,"tag":338,"props":775,"children":776},{"style":435},[777],{"type":317,"value":778},"getState",{"type":312,"tag":338,"props":780,"children":781},{"style":351},[782],{"type":317,"value":620},{"type":317,"value":378},{"type":312,"tag":338,"props":785,"children":786},{"class":340,"style":341},[787],{"type":312,"tag":338,"props":788,"children":789},{"style":716},[790],{"type":317,"value":791},"\u002F\u002F { undoDepth, redoDepth }",{"type":317,"value":378},{"type":312,"tag":338,"props":794,"children":795},{"class":340,"style":341},[],{"type":317,"value":378},{"type":312,"tag":338,"props":798,"children":799},{"class":340,"style":341},[800,804,808,812,816,820,824,829],{"type":312,"tag":338,"props":801,"children":802},{"style":357},[803],{"type":317,"value":587},{"type":312,"tag":338,"props":805,"children":806},{"style":351},[807],{"type":317,"value":592},{"type":312,"tag":338,"props":809,"children":810},{"style":357},[811],{"type":317,"value":597},{"type":312,"tag":338,"props":813,"children":814},{"style":351},[815],{"type":317,"value":592},{"type":312,"tag":338,"props":817,"children":818},{"style":357},[819],{"type":317,"value":606},{"type":312,"tag":338,"props":821,"children":822},{"style":351},[823],{"type":317,"value":592},{"type":312,"tag":338,"props":825,"children":826},{"style":435},[827],{"type":317,"value":828},"clear",{"type":312,"tag":338,"props":830,"children":831},{"style":351},[832],{"type":317,"value":620},{"type":312,"tag":313,"props":834,"children":835},{},[836,838,843,845,850,852,857],{"type":317,"value":837},"History entries are available synchronously after a successful outer command. Read methods such as ",{"type":312,"tag":333,"props":839,"children":840},{},[841],{"type":317,"value":842},"canUndo()",{"type":317,"value":844},", ",{"type":312,"tag":333,"props":846,"children":847},{},[848],{"type":317,"value":849},"canRedo()",{"type":317,"value":851},", and ",{"type":312,"tag":333,"props":853,"children":854},{},[855],{"type":317,"value":856},"getState()",{"type":317,"value":858}," never mutate history state.",{"type":312,"tag":313,"props":860,"children":861},{},[862,864,870,872,877,879,883,884,889,890,894,896,900,901,906],{"type":317,"value":863},"Keyboard shortcuts: ",{"type":312,"tag":865,"props":866,"children":867},"kbd",{},[868],{"type":317,"value":869},"⌘",{"type":317,"value":871}," + ",{"type":312,"tag":865,"props":873,"children":874},{},[875],{"type":317,"value":876},"Z",{"type":317,"value":878}," to undo, ",{"type":312,"tag":865,"props":880,"children":881},{},[882],{"type":317,"value":869},{"type":317,"value":871},{"type":312,"tag":865,"props":885,"children":886},{},[887],{"type":317,"value":888},"Shift",{"type":317,"value":871},{"type":312,"tag":865,"props":891,"children":892},{},[893],{"type":317,"value":876},{"type":317,"value":895}," or ",{"type":312,"tag":865,"props":897,"children":898},{},[899],{"type":317,"value":869},{"type":317,"value":871},{"type":312,"tag":865,"props":902,"children":903},{},[904],{"type":317,"value":905},"Y",{"type":317,"value":907}," to redo.",{"type":312,"tag":909,"props":910,"children":911},"note",{},[912,914,918,920,925],{"type":317,"value":913},"When both ",{"type":312,"tag":333,"props":915,"children":916},{},[917],{"type":317,"value":394},{"type":317,"value":919}," and ",{"type":312,"tag":333,"props":921,"children":922},{},[923],{"type":317,"value":924},"connectionsPlugin",{"type":317,"value":926}," are installed, undoing a node deletion also restores its connected edges.",{"type":312,"tag":928,"props":929,"children":930},"collapsible",{},[931,937],{"type":312,"tag":492,"props":932,"children":934},{"id":933},"undo-and-redo-ignored-commands",[935],{"type":317,"value":936},"Ignored commands",{"type":312,"tag":313,"props":938,"children":939},{},[940],{"type":317,"value":941},"History capture follows command metadata emitted by the engine and first-party features. Camera movement, transient interaction setup\u002Fteardown, imports, and selection-only commands are ignored; geometry and content mutations are recorded.",{"type":312,"tag":928,"props":943,"children":944},{},[945,951],{"type":312,"tag":492,"props":946,"children":948},{"id":947},"undo-and-redo-events",[949],{"type":317,"value":950},"Events",{"type":312,"tag":327,"props":952,"children":953},{"language":329,"class":330},[954],{"type":312,"tag":333,"props":955,"children":956},{"class":335},[957,1048,1049,1107,1108,1165,1166],{"type":312,"tag":338,"props":958,"children":959},{"class":340,"style":341},[960,964,968,973,978,983,988,993,998,1003,1008,1012,1017,1021,1026,1030,1034,1038,1043],{"type":312,"tag":338,"props":961,"children":962},{"style":357},[963],{"type":317,"value":587},{"type":312,"tag":338,"props":965,"children":966},{"style":351},[967],{"type":317,"value":592},{"type":312,"tag":338,"props":969,"children":970},{"style":435},[971],{"type":317,"value":972},"on",{"type":312,"tag":338,"props":974,"children":975},{"style":351},[976],{"type":317,"value":977},"(",{"type":312,"tag":338,"props":979,"children":980},{"style":373},[981],{"type":317,"value":982},"'history:push'",{"type":312,"tag":338,"props":984,"children":985},{"style":351},[986],{"type":317,"value":987},", (",{"type":312,"tag":338,"props":989,"children":990},{"style":357},[991],{"type":317,"value":992},"entry",{"type":312,"tag":338,"props":994,"children":995},{"style":351},[996],{"type":317,"value":997},") ",{"type":312,"tag":338,"props":999,"children":1000},{"style":418},[1001],{"type":317,"value":1002},"=>",{"type":312,"tag":338,"props":1004,"children":1005},{"style":357},[1006],{"type":317,"value":1007}," console",{"type":312,"tag":338,"props":1009,"children":1010},{"style":351},[1011],{"type":317,"value":592},{"type":312,"tag":338,"props":1013,"children":1014},{"style":435},[1015],{"type":317,"value":1016},"log",{"type":312,"tag":338,"props":1018,"children":1019},{"style":351},[1020],{"type":317,"value":977},{"type":312,"tag":338,"props":1022,"children":1023},{"style":373},[1024],{"type":317,"value":1025},"'New step:'",{"type":312,"tag":338,"props":1027,"children":1028},{"style":351},[1029],{"type":317,"value":844},{"type":312,"tag":338,"props":1031,"children":1032},{"style":357},[1033],{"type":317,"value":992},{"type":312,"tag":338,"props":1035,"children":1036},{"style":351},[1037],{"type":317,"value":592},{"type":312,"tag":338,"props":1039,"children":1040},{"style":357},[1041],{"type":317,"value":1042},"label",{"type":312,"tag":338,"props":1044,"children":1045},{"style":351},[1046],{"type":317,"value":1047},"))",{"type":317,"value":378},{"type":312,"tag":338,"props":1050,"children":1051},{"class":340,"style":341},[1052,1056,1060,1064,1068,1073,1078,1082,1086,1090,1094,1098,1103],{"type":312,"tag":338,"props":1053,"children":1054},{"style":357},[1055],{"type":317,"value":587},{"type":312,"tag":338,"props":1057,"children":1058},{"style":351},[1059],{"type":317,"value":592},{"type":312,"tag":338,"props":1061,"children":1062},{"style":435},[1063],{"type":317,"value":972},{"type":312,"tag":338,"props":1065,"children":1066},{"style":351},[1067],{"type":317,"value":977},{"type":312,"tag":338,"props":1069,"children":1070},{"style":373},[1071],{"type":317,"value":1072},"'history:undo'",{"type":312,"tag":338,"props":1074,"children":1075},{"style":351},[1076],{"type":317,"value":1077},", () ",{"type":312,"tag":338,"props":1079,"children":1080},{"style":418},[1081],{"type":317,"value":1002},{"type":312,"tag":338,"props":1083,"children":1084},{"style":357},[1085],{"type":317,"value":1007},{"type":312,"tag":338,"props":1087,"children":1088},{"style":351},[1089],{"type":317,"value":592},{"type":312,"tag":338,"props":1091,"children":1092},{"style":435},[1093],{"type":317,"value":1016},{"type":312,"tag":338,"props":1095,"children":1096},{"style":351},[1097],{"type":317,"value":977},{"type":312,"tag":338,"props":1099,"children":1100},{"style":373},[1101],{"type":317,"value":1102},"'Undo'",{"type":312,"tag":338,"props":1104,"children":1105},{"style":351},[1106],{"type":317,"value":1047},{"type":317,"value":378},{"type":312,"tag":338,"props":1109,"children":1110},{"class":340,"style":341},[1111,1115,1119,1123,1127,1132,1136,1140,1144,1148,1152,1156,1161],{"type":312,"tag":338,"props":1112,"children":1113},{"style":357},[1114],{"type":317,"value":587},{"type":312,"tag":338,"props":1116,"children":1117},{"style":351},[1118],{"type":317,"value":592},{"type":312,"tag":338,"props":1120,"children":1121},{"style":435},[1122],{"type":317,"value":972},{"type":312,"tag":338,"props":1124,"children":1125},{"style":351},[1126],{"type":317,"value":977},{"type":312,"tag":338,"props":1128,"children":1129},{"style":373},[1130],{"type":317,"value":1131},"'history:redo'",{"type":312,"tag":338,"props":1133,"children":1134},{"style":351},[1135],{"type":317,"value":1077},{"type":312,"tag":338,"props":1137,"children":1138},{"style":418},[1139],{"type":317,"value":1002},{"type":312,"tag":338,"props":1141,"children":1142},{"style":357},[1143],{"type":317,"value":1007},{"type":312,"tag":338,"props":1145,"children":1146},{"style":351},[1147],{"type":317,"value":592},{"type":312,"tag":338,"props":1149,"children":1150},{"style":435},[1151],{"type":317,"value":1016},{"type":312,"tag":338,"props":1153,"children":1154},{"style":351},[1155],{"type":317,"value":977},{"type":312,"tag":338,"props":1157,"children":1158},{"style":373},[1159],{"type":317,"value":1160},"'Redo'",{"type":312,"tag":338,"props":1162,"children":1163},{"style":351},[1164],{"type":317,"value":1047},{"type":317,"value":378},{"type":312,"tag":338,"props":1167,"children":1168},{"class":340,"style":341},[1169,1173,1177,1181,1185,1190,1194,1198,1202,1206,1210,1214,1219],{"type":312,"tag":338,"props":1170,"children":1171},{"style":357},[1172],{"type":317,"value":587},{"type":312,"tag":338,"props":1174,"children":1175},{"style":351},[1176],{"type":317,"value":592},{"type":312,"tag":338,"props":1178,"children":1179},{"style":435},[1180],{"type":317,"value":972},{"type":312,"tag":338,"props":1182,"children":1183},{"style":351},[1184],{"type":317,"value":977},{"type":312,"tag":338,"props":1186,"children":1187},{"style":373},[1188],{"type":317,"value":1189},"'history:clear'",{"type":312,"tag":338,"props":1191,"children":1192},{"style":351},[1193],{"type":317,"value":1077},{"type":312,"tag":338,"props":1195,"children":1196},{"style":418},[1197],{"type":317,"value":1002},{"type":312,"tag":338,"props":1199,"children":1200},{"style":357},[1201],{"type":317,"value":1007},{"type":312,"tag":338,"props":1203,"children":1204},{"style":351},[1205],{"type":317,"value":592},{"type":312,"tag":338,"props":1207,"children":1208},{"style":435},[1209],{"type":317,"value":1016},{"type":312,"tag":338,"props":1211,"children":1212},{"style":351},[1213],{"type":317,"value":977},{"type":312,"tag":338,"props":1215,"children":1216},{"style":373},[1217],{"type":317,"value":1218},"'History cleared'",{"type":312,"tag":338,"props":1220,"children":1221},{"style":351},[1222],{"type":317,"value":1047},{"title":1224,"searchDepth":1225,"depth":1225,"links":1226},"",4,[1227,1232],{"id":322,"depth":1228,"text":325,"children":1229},2,[1230],{"id":494,"depth":1231,"text":497},3,{"id":570,"depth":1228,"text":573,"children":1233},[1234,1235],{"id":933,"depth":1231,"text":936},{"id":947,"depth":1231,"text":950},"markdown","docs",{"source":1239,"path":1240,"stem":1241,"dir":1242,"extension":1243},"content","docs\u002F4.build-features\u002F4.undo-and-redo.md","docs\u002F4.build-features\u002F4.undo-and-redo","build-features","md",{"requestedPath":133,"resolvedPath":133,"alternates":1245},[],{"requested":1247,"resolved":1248,"usedFallback":6},{},{"locale":8},{"previous":1250,"next":1252},{"title":121,"id":122,"canonicalKey":123,"locale":8,"draft":6,"navigation":1251,"icon":125,"path":126},{"icon":125},{"title":135,"id":136,"canonicalKey":137,"locale":8,"draft":6,"navigation":1253,"icon":139,"path":140},{"icon":139},{"left":1255,"top":1255,"width":1256,"height":1256,"rotate":1255,"vFlip":6,"hFlip":6,"body":1257},0,256,"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":1255,"top":1255,"width":1259,"height":1259,"rotate":1255,"vFlip":6,"hFlip":6,"body":1260},24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1786637503019]