react-diagrams
react-diagrams copied to clipboard
a super simple, no-nonsense diagramming library written in react that just works
In reference to the issue 322 (https://github.com/projectstorm/react-diagrams/issues/322), the config to set allowLooseLink to false doesn't work properly, we trying to restrict the loose link from the react diagram nodes, for...
I have started experimenting with using Vite instead of react-scripts. When trying to rewrite one of my applications I noticed that react-diagrams works perfectly in development mode, but when it...
Steps to reproduce: 1. Open `react-canvas-core/src/states/DefaultState.ts` (or `diagrams-demo-gallery/demos/demo-alternative-linking/DefaultState.ts`, for example) 2. Add `console.log` in fire function for `MOUSE_DOWN` action 3. Register the action for `MOUSE_UP` with some `console.log` 4. Try...
I can see the label appears on the canvas but after a second it catches this error also the label on wrong position too.   
# Checklist - [x] The code has been run through pretty `yarn run pretty` - [x] The tests pass on CircleCI - [x] You have referenced the issue(s) or other...
Steps to reproduce: 1. Press on port by left mouse button. Message "MOUSE DOWN" is sent to console 2. Press any other mouse button (right, middle, etc.). Message "MOUSE DOWN"...
# Checklist - [x] The code has been run through pretty `yarn run pretty` - [x] The tests pass on CircleCI - [x] You have referenced the issue(s) or other...
This code uses only PointModel. So if users want to use other custom point with `DefaultLinkWindget` they can't do it without creating some "CustomLinkWidget". https://github.com/projectstorm/react-diagrams/blob/3060496db0709c37202bca948031cd02ebcc73a7/packages/react-diagrams-defaults/src/link/DefaultLinkWidget.tsx#L61-L65
Hello ! I get multiple errors when build my app. I had to switch `skipLibCheck` to `true` in my `tsconfig.json` to be able to build I'm joining my error output...
I am trying to create links between nodes where I would then create a label based on node names/properties. When I link two nodes I am not seeing an event...