@darajs/ui-causal-graph-editor
TypeScript icon, indicating that this package has built-in type declarations

1.16.5 • Public • Published

ui-causal-graph-editor

Storybook

Due to bundling differences between Vite (used for Dara) and Webpack (used for Storybook currently), running Storybook requires two manual changes:

  1. In ./src/shared/graph-layout/worker/client.ts in LayoutWorker constructor, swap out the line instantiating the worker. Refer to the comment there.
  2. In package.json, remove the "type": "module" line.

These are temporary measures until we upgrade Storybook and migrate to storybook's Vite builder.

Readme

Keywords

none

Package Sidebar

Install

npm i @darajs/ui-causal-graph-editor

Weekly Downloads

420

Version

1.16.5

License

Apache-2.0

Unpacked Size

7.4 MB

Total Files

223

Last publish

Collaborators

  • krzysztof-causalens