{"_id":"@coral-viz/viz","_rev":"5-31c1085a3f2fb111e2f1a693abd0b79f","name":"@coral-viz/viz","dist-tags":{"latest":"0.2.7"},"versions":{"0.2.3":{"name":"@coral-viz/viz","version":"0.2.3","license":"Apache-2.0","_id":"@coral-viz/viz@0.2.3","maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"homepage":"https://github.com/coreyt/coral#readme","bugs":{"url":"https://github.com/coreyt/coral/issues"},"dist":{"shasum":"db6b5e6d74f983ef9f0c6b178928e58328844f1f","tarball":"https://registry.npmjs.org/@coral-viz/viz/-/viz-0.2.3.tgz","fileCount":191,"integrity":"sha512-9ATl19cC7lck4OIIv2obU5SiSTJzKyT2oZ+959+/Ru6VbjdVFe0BmgVg47sET4RmEg2C4A4rmehNZY3CrOq82Q==","signatures":[{"sig":"MEUCIFmKh6j+LkSHA7AuIkLa2QzdrpoKxPsXa1CF1DX5NQQ9AiEAyzGNUsIoKqIc0mJ3g1RNdK+ZC03LlVca0iqW0nVSDHg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":590774},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=24.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./editor":{"types":"./dist/editor/index.d.ts","import":"./dist/editor/index.js"},"./layout":{"types":"./dist/layout/index.d.ts","import":"./dist/layout/index.js"},"./text-editor":{"types":"./dist/text-editor/index.d.ts","import":"./dist/text-editor/index.js"}},"scripts":{"lint":"eslint src test","test":"vitest","build":"node ../../scripts/clean.mjs dist && tsc","prepack":"npm run build","test:run":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"coreyt100","email":"coreyt@gmail.com"},"repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"_npmVersion":"12.0.2","description":"Coral visual diagram editor using React Flow","directories":{},"_nodeVersion":"24.19.0","dependencies":{"elkjs":"0.12.0","libavoided-js":"0.1.2","@graph-ir/core":"0.2.0","@coral-viz/render":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"30.0.1","react":"19.2.8","vitest":"5.0.0","react-dom":"19.2.8","typescript":"6.0.3","@types/node":"24.13.3","@types/react":"19.2.18","@xyflow/react":"12.11.6","@types/react-dom":"19.2.7","@vitest/coverage-v8":"5.0.0","@testing-library/react":"16.3.3"},"peerDependencies":{"react":"^18.3.0 || ^19.0.0","react-dom":"^18.3.0 || ^19.0.0","@xyflow/react":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/viz_0.2.3_1788742028480_0.4216059532941996","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@coral-viz/viz","version":"0.2.4","license":"Apache-2.0","_id":"@coral-viz/viz@0.2.4","maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"homepage":"https://github.com/coreyt/coral#readme","bugs":{"url":"https://github.com/coreyt/coral/issues"},"dist":{"shasum":"dd898f82d238b06f7bb415ca5263c9dec167c696","tarball":"https://registry.npmjs.org/@coral-viz/viz/-/viz-0.2.4.tgz","fileCount":207,"integrity":"sha512-II2KDKj/e2i9JgtT/XiwoT3LfsHSqTEVjYlZ/cbuScntQFpELzmMoFc1N/VdjtJe+S+Zj94qQlmL9clIFke5QQ==","signatures":[{"sig":"MEUCIQCgkj+WO0BKp3ftS/lyMveHRSve5DXidnZSIrrSQocfmgIgUcTIzP7Y6nDKRT/qq7VOfQ/f277qntgl7gfyBewaaBg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCui79Vk2WMWwnceuCbfk4OB96GCkzo0vCajDEUQPTHfQIgOBNiJ7rQYUFtjv2a7qy2YxCVd7Ofnrf4AIZbtAudgH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":641498},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=24.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./editor":{"types":"./dist/editor/index.d.ts","import":"./dist/editor/index.js"},"./layout":{"types":"./dist/layout/index.d.ts","import":"./dist/layout/index.js"},"./text-editor":{"types":"./dist/text-editor/index.d.ts","import":"./dist/text-editor/index.js"}},"gitHead":"b6bce1fb90868ee82b26eb21389343a21e27e009","scripts":{"lint":"eslint src test","test":"vitest","build":"node ../../scripts/clean.mjs dist && tsc","prepack":"npm run build","test:run":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd54877c-011a-4531-ae75-19fd957f6db1"}},"repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"_npmVersion":"12.0.2","description":"Coral visual diagram editor using React Flow","directories":{},"_nodeVersion":"24.19.0","dependencies":{"elkjs":"0.12.0","libavoided-js":"0.1.2","@graph-ir/core":"0.2.0","@xyflow/system":"0.0.82","@coral-viz/render":"0.2.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"30.0.1","react":"19.2.8","vitest":"5.0.0","react-dom":"19.2.8","typescript":"6.0.3","@types/node":"24.13.3","@types/react":"19.2.18","@xyflow/react":"12.11.6","@types/react-dom":"19.2.7","@vitest/coverage-v8":"5.0.0","@testing-library/react":"16.3.3"},"peerDependencies":{"react":"^18.3.0 || ^19.0.0","react-dom":"^18.3.0 || ^19.0.0","@xyflow/react":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/viz_0.2.4_1789132931249_0.7489027131359085","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@coral-viz/viz","version":"0.2.5","license":"Apache-2.0","_id":"@coral-viz/viz@0.2.5","maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"homepage":"https://github.com/coreyt/coral#readme","bugs":{"url":"https://github.com/coreyt/coral/issues"},"dist":{"shasum":"19e2045f6dddbb8c24af18d18295842f5238b588","tarball":"https://registry.npmjs.org/@coral-viz/viz/-/viz-0.2.5.tgz","fileCount":207,"integrity":"sha512-1DxSbQ5OPwXF95oYLuzy62p+nq9Q5XwY/FCTckc0ZBwDcAEM0P9Br6ZgwvH85O6yEh2SqSNe0T1gqFn/jF6Vjw==","signatures":[{"sig":"MEUCIQCrkHWowgMvrhmDPFUZjW1Rujp0ZOrqgNDGeAGeHogrDAIgB8r2GmL+VKCSWByiGLTrvobhxemRPUsVJowduG6Epjc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDDsO6bMoSl5wHJlVEtD5D56zNwzFMR7ZllzTx7wFHUWwIgFw2McvpC5qJLjmw1i4kpZn40WXozqxXEF7zC5+Flci0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":661030},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=24.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./editor":{"types":"./dist/editor/index.d.ts","import":"./dist/editor/index.js"},"./layout":{"types":"./dist/layout/index.d.ts","import":"./dist/layout/index.js"},"./text-editor":{"types":"./dist/text-editor/index.d.ts","import":"./dist/text-editor/index.js"}},"gitHead":"e28a120e2c94b6af7eeaed0385a444b969e1ac5f","scripts":{"lint":"eslint src test","test":"vitest","build":"node ../../scripts/clean.mjs dist && tsc","prepack":"npm run build","test:run":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd54877c-011a-4531-ae75-19fd957f6db1"}},"repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"_npmVersion":"12.0.2","description":"Coral visual diagram editor using React Flow","directories":{},"_nodeVersion":"26.8.2","dependencies":{"elkjs":"0.12.0","libavoided-js":"0.1.2","@graph-ir/core":"0.2.1","@xyflow/system":"0.0.82","@coral-viz/render":"0.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"30.0.1","react":"19.3.0","vitest":"5.0.0","react-dom":"19.3.0","typescript":"6.0.3","@types/node":"24.13.4","@types/react":"19.3.0","@xyflow/react":"12.11.6","@types/react-dom":"19.3.0","@vitest/coverage-v8":"5.0.0","@testing-library/react":"16.3.3"},"peerDependencies":{"react":"^18.3.0 || ^19.0.0","react-dom":"^18.3.0 || ^19.0.0","@xyflow/react":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/viz_0.2.5_1789952526138_0.7761808675115633","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@coral-viz/viz","version":"0.2.6","license":"Apache-2.0","_id":"@coral-viz/viz@0.2.6","maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"homepage":"https://github.com/coreyt/coral#readme","bugs":{"url":"https://github.com/coreyt/coral/issues"},"dist":{"shasum":"7b2b39b13ca0687675aba1004a36976bc7c3d7ea","tarball":"https://registry.npmjs.org/@coral-viz/viz/-/viz-0.2.6.tgz","fileCount":223,"integrity":"sha512-UFYPrk95Fdz2kiM8tQPnKCXN/yRMu9VrCXzr6e2JjNZOMBctWT37WdXnW3VwpxHWLYPHNUbs/+2bg4dkpQqKQA==","signatures":[{"sig":"MEYCIQCyzdqgeTfcvEIO2OmpG6ZzPjv/xDfGkFcA7tdcCIJQ/gIhAOjIPrANkjogxbaSaNNngYnkM3+UnQQNgqt6HQTdIYoF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDhnkA2VsW1U/59ALLpscwFT/CQ6E0zuq7KZRRuHwdB/QIhAKdZBCU1IQTssZAn1rByHkuXYPLPf6TvsAbFCKf69W3u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":745854},"main":"dist/index.js","type":"module","_from":"file:candidate-artifacts/coral-viz-viz-0.2.6.tgz","types":"dist/index.d.ts","engines":{"node":">=24.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./editor":{"types":"./dist/editor/index.d.ts","import":"./dist/editor/index.js"},"./layout":{"types":"./dist/layout/index.d.ts","import":"./dist/layout/index.js"},"./text-editor":{"types":"./dist/text-editor/index.d.ts","import":"./dist/text-editor/index.js"}},"scripts":{"lint":"eslint src test","test":"vitest","build":"node ../../scripts/clean.mjs dist && tsc","prepack":"npm run build","test:run":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bd54877c-011a-4531-ae75-19fd957f6db1"}},"_resolved":"/home/runner/work/coral/coral/candidate-artifacts/coral-viz-viz-0.2.6.tgz","_integrity":"sha512-UFYPrk95Fdz2kiM8tQPnKCXN/yRMu9VrCXzr6e2JjNZOMBctWT37WdXnW3VwpxHWLYPHNUbs/+2bg4dkpQqKQA==","repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"_npmVersion":"12.0.2","description":"Coral visual diagram editor using React Flow","directories":{},"_nodeVersion":"26.8.2","dependencies":{"elkjs":"0.12.0","libavoided-js":"0.1.2","@graph-ir/core":"0.2.2","@xyflow/system":"0.0.82","@coral-viz/render":"0.2.6","@coral-viz/language":"0.2.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"30.1.0","react":"19.3.0","vitest":"5.0.1","react-dom":"19.3.0","typescript":"6.0.3","@types/node":"24.13.5","@types/react":"19.3.0","@xyflow/react":"12.11.6","@types/react-dom":"19.3.0","@vitest/coverage-v8":"5.0.1","@testing-library/react":"16.3.3"},"peerDependencies":{"react":"^18.3.0 || ^19.0.0","react-dom":"^18.3.0 || ^19.0.0","@xyflow/react":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/viz_0.2.6_1790866930184_0.3886327289519875","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"_id":"@coral-viz/viz@0.2.7","bugs":{"url":"https://github.com/coreyt/coral/issues"},"dist":{"shasum":"b2aa8f027533651cae14035db8d2f50410f6e515","tarball":"https://registry.npmjs.org/@coral-viz/viz/-/viz-0.2.7.tgz","fileCount":223,"integrity":"sha512-OqL2YTMTObppAPseOVMtlQyWLMoqqLktGW6O8ufN9eUAZiVAxJ1sWfXy98RN6e6sWb2KEvuPPKhh+IpyWy4RxQ==","signatures":[{"sig":"MEUCIQCCuMkvd5sP+As8ps9yaJGmTBrnADTlAWIf9GpjExRMqwIgDTnMuvBC/qmKxb9qghuEggmjpkaiO+h8xlBFePskBHI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChOtOIQeBeRUqfA607LRh+f3W2PDh350xM0yO1yOuelgIhAKIzMWxhSWuK77flty8MUDiEqQUrzw3+PzJMY5O9ShiM"}],"unpackedSize":761228},"main":"dist/index.js","name":"@coral-viz/viz","type":"module","_from":"file:candidate-artifacts/coral-viz-viz-0.2.7.tgz","types":"dist/index.d.ts","engines":{"node":">=24.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./editor":{"types":"./dist/editor/index.d.ts","import":"./dist/editor/index.js"},"./layout":{"types":"./dist/layout/index.d.ts","import":"./dist/layout/index.js"},"./text-editor":{"types":"./dist/text-editor/index.d.ts","import":"./dist/text-editor/index.js"}},"license":"Apache-2.0","scripts":{"lint":"eslint src test","test":"vitest","build":"node ../../scripts/clean.mjs dist && tsc","prepack":"npm run build","test:run":"vitest run","typecheck":"tsc --noEmit","test:coverage":"vitest run --coverage"},"version":"0.2.7","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"bd54877c-011a-4531-ae75-19fd957f6db1"}},"homepage":"https://github.com/coreyt/coral#readme","_resolved":"/home/runner/work/coral/coral/candidate-artifacts/coral-viz-viz-0.2.7.tgz","_integrity":"sha512-OqL2YTMTObppAPseOVMtlQyWLMoqqLktGW6O8ufN9eUAZiVAxJ1sWfXy98RN6e6sWb2KEvuPPKhh+IpyWy4RxQ==","repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"_npmVersion":"12.0.2","description":"Coral visual diagram editor using React Flow","directories":{},"maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"_nodeVersion":"26.8.2","dependencies":{"elkjs":"0.12.0","libavoided-js":"0.1.2","@graph-ir/core":"0.2.2","@xyflow/system":"0.0.82","@coral-viz/render":"0.2.7","@coral-viz/language":"0.2.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"30.1.0","react":"19.3.0","vitest":"5.0.1","react-dom":"19.3.0","typescript":"6.0.3","@types/node":"24.13.5","@types/react":"19.3.0","@xyflow/react":"12.11.6","@types/react-dom":"19.3.0","@vitest/coverage-v8":"5.0.1","@testing-library/react":"16.3.3"},"peerDependencies":{"react":"^18.3.0 || ^19.0.0","react-dom":"^18.3.0 || ^19.0.0","@xyflow/react":"^12.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/viz_0.2.7_1791144021613_0.30763059623989597"}}},"time":{"created":"2026-09-07T00:47:08.280Z","modified":"2026-10-04T20:00:21.887Z","0.2.3":"2026-09-07T00:47:08.654Z","0.2.4":"2026-09-11T13:22:11.341Z","0.2.5":"2026-09-21T01:02:06.235Z","0.2.6":"2026-10-01T15:02:10.317Z","0.2.7":"2026-10-04T20:00:21.711Z"},"bugs":{"url":"https://github.com/coreyt/coral/issues"},"license":"Apache-2.0","homepage":"https://github.com/coreyt/coral#readme","repository":{"url":"git+https://github.com/coreyt/coral.git","type":"git","directory":"packages/viz"},"description":"Coral visual diagram editor using React Flow","maintainers":[{"name":"coreyt100","email":"coreyt@gmail.com"}],"readme":"# @coral-viz/viz\n\nReact Flow editor components, GraphIR projection, file/settings helpers, text\nsynchronization, layout, connections, waypoints, and properties APIs.\n\n```sh\nnpm install @coral-viz/viz@0.2.7 @coral-viz/render@0.2.7 \\\n  @graph-ir/core@0.2.2 \\\n  @xyflow/react@^12 react@^19 react-dom@^19\n```\n\nReact and React DOM 18.3 or 19 are supported peers. Import the React Flow\nstylesheet once:\n\n```ts\nimport '@xyflow/react/dist/style.css';\n```\n\nPublic entries are the root plus `/editor`, `/layout`, and `/text-editor`.\n`CoralEditor` renders and edits a supplied graph. The host owns file loading,\nGraphIR validation, notation-profile resolution, layout orchestration,\npersistence, and container sizing. Connections are disabled by default.\n\n`convertGraphToFlow` and `convertEdge` emit `compatibility` edges with shared\nmarker URLs. A standalone `<ReactFlow>` host must pass\n`edgeTypes={{ compatibility: CompatibilityEdge }}` and render\n`<EndpointMarkerDefinitions edges={edges} />`; the Viz API owns the full\nexample.\n\n`UserPreferences.llmSavedApiKey` remains only for 0.2.x source compatibility\nand is deprecated as secret storage.\n\nSee the\n[Viz API](https://coreyt.github.io/coral/docs/embed/reference/viz-api)\nand\n[React editor guide](https://coreyt.github.io/coral/docs/embed/how-to/embed-the-react-editor).\n\nApache-2.0. See `LICENSE`.\n","readmeFilename":"README.md"}