github-actions[bot] on gh-pages
Deploy Storybook to GitHub Pages (compare)
github-actions[bot] on react-diagrams-defaults@7.1.0
github-actions[bot] on react-diagrams@7.0.1
github-actions[bot] on react-diagrams-routing@7.1.0
dylanvorster on master
dylanvorster on master
Version Packages Merge pull request #981 from pr… (compare)
github-actions[bot] on master
Version Packages (compare)
dylanvorster on features
dylanvorster on master
auto-redistribute-without-nodes miners Remove hardcode for PointModel … and 8 more (compare)
recalculatePortsVisually
method on the DiagramEngine
but I cannot find any such method. I have also tried calling port.reportPosition()
but does not seem to update the ports position either. I am using v6.6.1 of the library.
models.forEach((item) => {
item.registerListener({
entityRemoved: (event) => {
etModelState({
...modelState,
components: currentComponents,
});
},
});
});
npx create-react-app my-app
, had to add some compiler options but all started working in the end. Then I trasnferred it to my work project but here I run into issues, it is a typescript react project and due to my limited knowledge I am not sure what is causing this issue, but the issue is that it is complaining about circular dependencies in the projectstorm diagram library. This is odd for me that it did not complain in the demo app but in this project which I created with a scaffolding tool provided to me for the IDE framework we are working in (a low-code framework), but to the eye the structure looks the same as my demo app, I installed projectstorm react digram in the same way. What in the coniler or setup will cause this circular dependency to be picked up as an error and how can I disable it? Obviously there is something setup differently but I do not know where to start looking. This is the 3 circular dependency errors:Hi, are there any issues in using useEffect with this project? I am fetching some data from a redux store (say nodes), observing changes to nodes using useEffect, and adding them to the diagram but this is not working for some reason. This is a pretty standard react flow. Is there anything I am missing here? Any help will be much appreciated
I have also raised an issue in github for the same projectstorm/react-diagrams#973