-
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use AutoArrangePlugin with Angular 17 as schemes mismatch #696
Comments
what TS error do you receive? The app generated via Rete Kit doesn't throw any error on build npx rete-kit app -n ang17 -s angular -v 17 -f "Angular render,Order nodes,Zoom at,Auto arrange,Dataflow engine,Selectable nodes" |
Sorry my question was Is it possible to use the auto Arrange plugin for the below mentioned scheme. Auto Arrange only works when nodes have fixed height and width? |
Trying the hack around to get the height and width of the node after the autoArrange
|
yes, because Elk.js (the library it's based on) needs width/height to be available before rendering the graph (in most cases).
why can't you specify/calculate width/height based on node type and content? Like this https://github.com/retejs/rete-studio/blob/abd5d890c56a748d501ef7c027671dcea3d37908/core/src/nodes.ts#L219 |
assigning node height and width directly did not work.. need to modify node style height and width only. |
this works if you don't use Otherwise, after updating these properties, you need to call resize explicitly |
Is it possible to use the auto Arrange plugin for the below mentioned scheme. Auto Arrange only works when nodes have fixed height and width
Scheme given for AutoArrange plugin
Is there a efficient way I can re arrange all the nodes having different schemes tried with zoom functionality
area.area.transform.k
also area.area.zoom()dragged values will not be repositioned to initial state
Help is appreciated
The text was updated successfully, but these errors were encountered: