{"_id":"@bpmn-sdk/editor","_rev":"7-1635192b13f23fa22a55abf01961a163","name":"@bpmn-sdk/editor","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@bpmn-sdk/editor","version":"0.0.1","_id":"@bpmn-sdk/editor@0.0.1","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"dist":{"shasum":"114cf2543e36129e549c8c6c892d396383fb849a","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.1.tgz","fileCount":49,"integrity":"sha512-XR7qf3NDbESQiJfz3Q9I/QpRzOtyNG9J/C1cc7UWJ32CAiEa0OQGS/m0zuYHZafjoh6R41lKdJMvpqO8Rzn8AQ==","signatures":[{"sig":"MEQCIEsFFjQPj47+/JZs2SjekO6DJGAF9NgNifOd3vsDnSdMAiBXuL2CYbxPoZV1qDuPzEmsz+r/7/SqCdJnxLxUho/+ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":259496},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fa13b7e9a12f9fe6ff083ef71515bb500b2bd3a8","scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"urbanisierung","email":"adam.urban@gmail.com"},"_npmVersion":"11.6.1","directories":{},"_nodeVersion":"24.11.0","dependencies":{"@bpmn-sdk/core":"workspace:*","@bpmn-sdk/canvas":"workspace:*"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.1_1771914145960_0.19658608647370612","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@bpmn-sdk/editor","version":"0.0.3","_id":"@bpmn-sdk/editor@0.0.3","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://github.com/bpmn-sdk/monorepo#readme","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"dist":{"shasum":"0323debec81d8c4a9cc04345c04e579f358a21fe","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.3.tgz","fileCount":36,"integrity":"sha512-NtAFX0+9LIhdBMQMGTTHUdR/8R21uAL2qYwO3z5zgzYKy4HOcdQSKLW3aqCW1DJUKdzqTANrL23wC22YrfWz5g==","signatures":[{"sig":"MEYCIQCyA1+9u/sHGs/MhN++oWOnfnfvt6z8kVESJpsZSsoChwIhAPO+StRIQHqN4YsA24VAVG+TXcFiSQqlee6Us0NN1UiO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":378845},"main":"./dist/index.js","type":"module","_from":"file:bpmn-sdk-editor-0.0.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"_resolved":"/tmp/32016ba864b96a2ccae048ea5394fffb/bpmn-sdk-editor-0.0.3.tgz","_integrity":"sha512-NtAFX0+9LIhdBMQMGTTHUdR/8R21uAL2qYwO3z5zgzYKy4HOcdQSKLW3aqCW1DJUKdzqTANrL23wC22YrfWz5g==","repository":{"url":"git+https://github.com/bpmn-sdk/monorepo.git","type":"git"},"_npmVersion":"11.9.0","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@bpmn-sdk/core":"0.0.3","@bpmn-sdk/canvas":"0.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.3_1772992006475_0.9761673105844375","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@bpmn-sdk/editor","version":"0.0.4","_id":"@bpmn-sdk/editor@0.0.4","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://github.com/bpmn-sdk/monorepo#readme","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"dist":{"shasum":"f8f123e16f1f683afc540957798e9da7492d8ccf","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.4.tgz","fileCount":37,"integrity":"sha512-736hOvWD9AJ/+Onc31/3vXG+WoSbj55y1ChqN8r366oqoedoUYSQsZs7x+9BphPgQZT0ier5YP3hz7TX/IQaWg==","signatures":[{"sig":"MEQCIHQA98RtnQ3jmsxP5ra4tLnVPIEv4UYUR0Rtip3ZIlpKAiBUkTKfmurMJDubL/2aq+A2OkTXP4Lfd4RDbp1YAVSVxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":383588},"main":"./dist/index.js","type":"module","_from":"file:bpmn-sdk-editor-0.0.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"_resolved":"/tmp/660819fb8c74b176b0a2c021e6d9e2d4/bpmn-sdk-editor-0.0.4.tgz","_integrity":"sha512-736hOvWD9AJ/+Onc31/3vXG+WoSbj55y1ChqN8r366oqoedoUYSQsZs7x+9BphPgQZT0ier5YP3hz7TX/IQaWg==","repository":{"url":"git+https://github.com/bpmn-sdk/monorepo.git","type":"git"},"_npmVersion":"11.9.0","description":"<div align=\"center\">   <img src=\"https://raw.githubusercontent.com/bpmn-sdk/monorepo/main/doc/logos/logo-2-gateway.svg\" width=\"72\" height=\"72\" alt=\"BPMN SDK logo\">   <h1>@bpmn-sdk/editor</h1>   <p>Full-featured interactive BPMN editor with undo/redo, HUD,","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@bpmn-sdk/core":"0.0.4","@bpmn-sdk/canvas":"0.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.4_1773080900100_0.9724526179855304","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@bpmn-sdk/editor","version":"0.0.5","keywords":["bpmn","editor","workflow","typescript","canvas"],"license":"MIT","_id":"@bpmn-sdk/editor@0.0.5","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://github.com/bpmn-sdk/monorepo#readme","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"dist":{"shasum":"d2f43066b183dc3e4f4f3781100fcc4ea5ce29d9","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.5.tgz","fileCount":37,"integrity":"sha512-rZRwao42IS9S7I/D420cDR8s9E3M8/o5RoOtQyRUVoqP0FCXZL7deIC8QADbp6ySv1wlOBeVRpYe2fFB3OIFvg==","signatures":[{"sig":"MEQCIFec3c/s1FBVRas7iydCPESZVOWHLGTMb+3hIn9SQ+ugAiBWfCC+50RkCKXW/hBhE3VmNE7rJW7qvTNr5oxKy4hHsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":421862},"main":"./dist/index.js","type":"module","_from":"file:bpmn-sdk-editor-0.0.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"_resolved":"/tmp/62f58d157acddb1f442a4402889dbb0b/bpmn-sdk-editor-0.0.5.tgz","_integrity":"sha512-rZRwao42IS9S7I/D420cDR8s9E3M8/o5RoOtQyRUVoqP0FCXZL7deIC8QADbp6ySv1wlOBeVRpYe2fFB3OIFvg==","repository":{"url":"git+https://github.com/bpmn-sdk/monorepo.git","type":"git"},"_npmVersion":"11.9.0","description":"Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@bpmn-sdk/core":"0.0.5","@bpmn-sdk/canvas":"0.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.5_1773173858719_0.8287343624936201","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@bpmn-sdk/editor","version":"0.0.6","keywords":["bpmn","editor","workflow","typescript","canvas"],"license":"MIT","_id":"@bpmn-sdk/editor@0.0.6","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://github.com/bpmn-sdk/monorepo#readme","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"dist":{"shasum":"251f9f12819c50efcdd17d12c00e2594e8bce693","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.6.tgz","fileCount":37,"integrity":"sha512-XWc9AmKefm9Rj1mno9bPQN5LdGT0g86VmdETtddOqKrLIuRFYrHJGrECrKWYXmGU28FBj0S3XjW0E2ZzdoPESg==","signatures":[{"sig":"MEUCIQDpc24l4FZlpQH3H5QkzVi1Fia5/CKQGbOQcjLFO9AE4AIgIiwqA3TQX1Af34l22fHFUQ8Anp3OXV+JnCInCa17RTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":423195},"main":"./dist/index.js","type":"module","_from":"file:bpmn-sdk-editor-0.0.6.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"_resolved":"/tmp/791a8a94f2e577c21ab7f5177392555d/bpmn-sdk-editor-0.0.6.tgz","_integrity":"sha512-XWc9AmKefm9Rj1mno9bPQN5LdGT0g86VmdETtddOqKrLIuRFYrHJGrECrKWYXmGU28FBj0S3XjW0E2ZzdoPESg==","repository":{"url":"git+https://github.com/bpmn-sdk/monorepo.git","type":"git"},"_npmVersion":"11.9.0","description":"Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@bpmn-sdk/core":"0.0.6","@bpmn-sdk/canvas":"0.0.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.6_1773258777742_0.3214104399808251","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@bpmn-sdk/editor","version":"0.0.7","keywords":["bpmn","editor","workflow","typescript","canvas"],"license":"MIT","_id":"@bpmn-sdk/editor@0.0.7","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"homepage":"https://github.com/bpmn-sdk/monorepo#readme","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"dist":{"shasum":"5bbd43de8695a735a3fe73cab5ee422d37a36afa","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.7.tgz","fileCount":37,"integrity":"sha512-0QP/1hwJVsZLQlTP2h3IhFop7TUVxMdrcHVQQo6MbH10t7AEJ88cWkIN1kKI5FkgHLtM4ywgjt0nf/NzKfByFg==","signatures":[{"sig":"MEUCIQDaTYMokTDji11QPxrpubx5YZS22gy2/fMd+6USjw1XFwIgCUO8/ZlCEAEWBsYzHgG2oBIYF7thEKwBW6WHrmUrVZg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":423195},"main":"./dist/index.js","type":"module","_from":"file:bpmn-sdk-editor-0.0.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","check":"biome check .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"_resolved":"/tmp/fb14f83a6cac677236368fbf5c1d77e5/bpmn-sdk-editor-0.0.7.tgz","_integrity":"sha512-0QP/1hwJVsZLQlTP2h3IhFop7TUVxMdrcHVQQo6MbH10t7AEJ88cWkIN1kKI5FkgHLtM4ywgjt0nf/NzKfByFg==","repository":{"url":"git+https://github.com/bpmn-sdk/monorepo.git","type":"git"},"_npmVersion":"11.9.0","description":"Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@bpmn-sdk/core":"0.0.7","@bpmn-sdk/canvas":"0.0.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/editor_0.0.7_1773341677995_0.6879946629346481","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@bpmn-sdk/editor","version":"0.0.8","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@bpmn-sdk/canvas":"0.0.8","@bpmn-sdk/core":"0.0.8"},"description":"Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI","keywords":["bpmn","editor","workflow","typescript","canvas"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bpmn-sdk/monorepo.git"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","check":"biome check .","test":"vitest run"},"_id":"@bpmn-sdk/editor@0.0.8","bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"homepage":"https://github.com/bpmn-sdk/monorepo#readme","_integrity":"sha512-wveXJ5fR+6lMpwdnG+03cBIGHCVmn/FAY9yeWZV2dxKNrSwU/LOkBGu1/j44PJFs3PgXhax5yUYr0YCxiCikeg==","_resolved":"/tmp/f4faa85b00a5c0b583171762e9d93700/bpmn-sdk-editor-0.0.8.tgz","_from":"file:bpmn-sdk-editor-0.0.8.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-wveXJ5fR+6lMpwdnG+03cBIGHCVmn/FAY9yeWZV2dxKNrSwU/LOkBGu1/j44PJFs3PgXhax5yUYr0YCxiCikeg==","shasum":"ba4599e5b5543046f4db18f76b1a78df0864cc63","tarball":"https://registry.npmjs.org/@bpmn-sdk/editor/-/editor-0.0.8.tgz","fileCount":37,"unpackedSize":426970,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bpmn-sdk%2feditor@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBDZ3LZun1Eo+FmbgSB9MJKvvtEe6WIO9In3RsmEP4aLAiBcdRAIgOAEJCiDeyfADloeit4OJHAxgbR3DEnehvu9dg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd2e80ae-fbe9-4638-ab1b-b82f2174874e"}},"directories":{},"maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/editor_0.0.8_1773428384566_0.6464576510789461"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-24T06:22:25.843Z","modified":"2026-03-13T18:59:45.059Z","0.0.1":"2026-02-24T06:22:26.124Z","0.0.3":"2026-03-08T17:46:46.677Z","0.0.4":"2026-03-09T18:28:20.286Z","0.0.5":"2026-03-10T20:17:38.916Z","0.0.6":"2026-03-11T19:52:57.889Z","0.0.7":"2026-03-12T18:54:38.205Z","0.0.8":"2026-03-13T18:59:44.799Z"},"bugs":{"url":"https://github.com/bpmn-sdk/monorepo/issues"},"license":"MIT","homepage":"https://github.com/bpmn-sdk/monorepo#readme","keywords":["bpmn","editor","workflow","typescript","canvas"],"repository":{"type":"git","url":"git+https://github.com/bpmn-sdk/monorepo.git"},"description":"Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI","maintainers":[{"name":"urbanisierung","email":"adam.urban@gmail.com"}],"readme":"<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/bpmn-sdk/monorepo/main/doc/logos/logo-2-gateway.svg\" width=\"72\" height=\"72\" alt=\"BPMN SDK logo\">\n  <h1>@bpmn-sdk/editor</h1>\n  <p>Full-featured interactive BPMN editor with undo/redo, HUD, and side-dock UI</p>\n\n  [![npm](https://img.shields.io/npm/v/@bpmn-sdk/editor?style=flat-square&color=6244d7)](https://www.npmjs.com/package/@bpmn-sdk/editor)\n  [![license](https://img.shields.io/npm/l/@bpmn-sdk/editor?style=flat-square)](https://github.com/bpmn-sdk/monorepo/blob/main/LICENSE)\n  [![typescript](https://img.shields.io/badge/TypeScript-strict-6244d7?style=flat-square&logo=typescript&logoColor=white)](https://github.com/bpmn-sdk/monorepo)\n\n  [Documentation](https://bpmn-sdk-docs.pages.dev) · [GitHub](https://github.com/bpmn-sdk/monorepo) · [Changelog](https://github.com/bpmn-sdk/monorepo/blob/main/packages/editor/CHANGELOG.md)\n</div>\n\n---\n\n## Overview\n\n`@bpmn-sdk/editor` turns the `@bpmn-sdk/canvas` viewer into a fully interactive editor. Drag to connect elements, inline-edit labels, resize shapes, attach boundary events, and integrate AI-assisted design — all through a composable API.\n\n## Features\n\n- **40+ element types** — all BPMN 2.0 tasks, events, gateways, sub-processes\n- **Drag-to-connect** — draw sequence flows with automatic waypoint routing\n- **Resize & move** — multi-select, group move, constrained resize\n- **Label editing** — inline text editor with multi-line support\n- **Undo/redo** — full command history with keyboard shortcuts\n- **Copy/paste** — multi-element clipboard with offset paste\n- **Boundary events** — attach and detach boundary events interactively\n- **HUD toolbar** — customisable palette with shape categories\n- **Side dock** — resizable right sidebar with Properties, AI chat, and Docs tabs\n- **Theme persistence** — auto read/write `localStorage` with `persistTheme`\n\n## Installation\n\n```sh\nnpm install @bpmn-sdk/editor @bpmn-sdk/canvas\n```\n\n## Quick Start\n\n```typescript\nimport { BpmnEditor, initEditorHud, createSideDock } from \"@bpmn-sdk/editor\"\n\n// Full editor (viewer + editing interactions)\nconst editor = new BpmnEditor({\n  container: document.getElementById(\"editor\")!,\n  theme: \"dark\",\n  persistTheme: true,\n  plugins: [],\n})\n\n// Toolbar HUD (palette, zoom controls, etc.)\ninitEditorHud(editor, {\n  container: document.getElementById(\"hud\")!,\n})\n\n// Sidebar with Properties + AI tabs\nconst dock = createSideDock(document.body)\neditor.loadXML(bpmnXml)\n```\n\n## API Reference\n\n### `BpmnEditor`\n\nExtends `BpmnCanvas`. Adds all editing interactions.\n\n```typescript\ninterface EditorOptions extends CanvasOptions {\n  persistTheme?: boolean  // auto-save theme to localStorage\n}\n```\n\n### `initEditorHud(editor, options)`\n\nMounts the toolbar HUD into a container.\n\n```typescript\ninterface HudOptions {\n  container: HTMLElement\n  optimizeButton?: HTMLElement  // inject into action bar\n  aiButton?: HTMLElement        // inject into action bar\n}\n```\n\n### `createSideDock(container)` → `SideDock`\n\nCreates the right-side collapsible dock.\n\n```typescript\ninterface SideDock {\n  el: HTMLElement\n  propertiesPane: HTMLDivElement\n  aiPane: HTMLDivElement\n  docsPane: HTMLDivElement\n  switchTab(tab: \"properties\" | \"ai\" | \"docs\" | \"history\" | \"play\"): void\n  expand(): void\n  collapse(): void\n  collapsed: boolean\n  setDiagramInfo(processName: string, fileName: string): void\n}\n```\n\n---\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@bpmn-sdk/core`](https://www.npmjs.com/package/@bpmn-sdk/core) | BPMN/DMN/Form parser, builder, layout engine |\n| [`@bpmn-sdk/canvas`](https://www.npmjs.com/package/@bpmn-sdk/canvas) | Zero-dependency SVG BPMN viewer |\n| [`@bpmn-sdk/engine`](https://www.npmjs.com/package/@bpmn-sdk/engine) | Lightweight BPMN process execution engine |\n| [`@bpmn-sdk/feel`](https://www.npmjs.com/package/@bpmn-sdk/feel) | FEEL expression language parser & evaluator |\n| [`@bpmn-sdk/plugins`](https://www.npmjs.com/package/@bpmn-sdk/plugins) | 22 composable canvas plugins |\n| [`@bpmn-sdk/api`](https://www.npmjs.com/package/@bpmn-sdk/api) | Camunda 8 REST API TypeScript client |\n| [`@bpmn-sdk/ascii`](https://www.npmjs.com/package/@bpmn-sdk/ascii) | Render BPMN diagrams as Unicode ASCII art |\n| [`@bpmn-sdk/profiles`](https://www.npmjs.com/package/@bpmn-sdk/profiles) | Shared auth, profile storage, and client factories for CLI & proxy |\n| [`@bpmn-sdk/operate`](https://www.npmjs.com/package/@bpmn-sdk/operate) | Monitoring & operations frontend for Camunda clusters |\n\n## License\n\n[MIT](https://github.com/bpmn-sdk/monorepo/blob/main/LICENSE) © bpmn-sdk\n","readmeFilename":"README.md"}