Defining Node Width in Node Definition #448
Unanswered
points-unknown
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting started on a project using BaklavaJS. Love its functionality so far, but am having trouble changing the node width. In the https://baklava.tech/nodes/nodes.html documentation, it indicates that the parameter 'width' can be set to customize your nodes. So here is what I am doing:
As shown above, I am adding the parameter 'width' to the node definition. But no changes to the node are present. Alternatively, I have tried creating a node with custom width as a custom class definition. 'this.width' works, but I can't figure out how to get 'onUpdate' to work when defining a Dynamic Node in this way.
Similarly, I have tried to get what I wanted by changing the minWidth in the overall Baklava settings, but again - I can't get it to work.
I am sure there is something I am not doing right, but I haven't figured out what yet. Any and all help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions