Skip to content
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

Custom Shape Node size (width, height, bounding box) is not scaling to nodeDimensions #2028

Open
bgcc93 opened this issue Oct 17, 2023 · 0 comments

Comments

@bgcc93
Copy link

bgcc93 commented Oct 17, 2023

Live Example
GIF showcasing issue

Dragging a Node by the corner works for the outer nodes but not for the inner nodes.

The node data simply specifies the bare minimum. There's a custom Title property and the value to be used as the size.

The ctxRenderer is being defined in the options to be globally applied to all custom nodes.

With a setTimeout we can see that , for example, the inner nodes width stays at 20 while the outer nodes width updates to use the correct value

@bgcc93 bgcc93 changed the title Custom Node size (width, height, bounding box) is not scaling to nodeDimensions Custom Shape Node size (width, height, bounding box) is not scaling to nodeDimensions Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant