react-diagrams
react-diagrams copied to clipboard
a super simple, no-nonsense diagramming library written in react that just works
Hello, it appears that clicking instead of dragging is broken when your zooming in or out in the canvas. This can be tested straight on the demo website [here](http://projectstorm.cloud/react-diagrams/?path=/story/advanced-techniques--linking-by-clicking-instead-of-dragging) In...
I'm using BezierCurve to create curve link But when i using direction vertical . curve is not become a line. How can i change direction of projectstorm/react-diagrams
Hello, Great God. I really like the 'using custom models: (Dylan's personal code)' image effect displayed in your readme. Can you give me a code example? thank! Image address: https://github.com/projectstorm/react-diagrams/blob/master/.gitbook/assets/example1.jpg
caught TypeError: dispatcher.useInsertionEffect is not a function at useInsertionEffect (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:87757:21) at useInsertionEffectMaybe (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:26331:3) at Insertion (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:26342:15) at renderWithHooks (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:75646:18) at mountIndeterminateComponent (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:78325:13) at beginWork (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:79439:16) at HTMLUnknownElement.callCallback (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0_node_-33856c.manager.bundle.js:61031:14) at Object.invokeGuardedCallbackDev...
This should be simple but instead of able to drag that connected point, I always get new unwant line instead. Can't find any example that doing just this. Any hint...
``` /home/runner/work/contrast-ui/contrast-ui/node_modules/pathfinding/visual/lib/jquery-1.7.2.min.js ↳ jquery 1.7.2 jquery 1.7.2 has known vulnerabilities: severity: high; CVE: CVE-2012-6708, bug: 11290, summary: Selector interpreted as HTML, githubID: GHSA-2pqj-h3vj-pqgw; http://bugs.jquery.com/ticket/11290 https://nvd.nist.gov/vuln/detail/CVE-2012-6708 http://research.insecurelabs.org/jquery/test/ severity: medium; CVE: CVE-2020-7656,...
Can someone show me how to use events to get connected links and ports and display them in projectstorm/react-diagrams?
Clicking on a port sometimes creates an edge to the top left of the canvas (the point (0, 0), I think). You can observe this behavior in the demo: http://projectstorm.cloud/react-diagrams/?path=/story/customization--custom-diamond-node....
I want to change the text color of the title in the node. Also, as the node title is in a string format, i am not able to add a...
Hi, I have been trying to make this work with useEffect as follows ```javascript import createEngine, { DefaultLinkModel, DefaultNodeModel, DefaultLabelModel, DiagramModel, LabelModel } from '@projectstorm/react-diagrams'; import { useSelector } from...