Disable a node by its node ID #946
-
Is there a way to disable a node by its ID? I want to avoid sending of events and the style of the node. It is similar what we can do if we disable for example a standard input element. It becomes gray and can't write anything in it. |
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
May 12, 2023
Replies: 1 comment 2 replies
-
You can turn off dragging, selecting, focusing, deleting etc. - but "disabling" a node is not a built-in functionality, no. Styling is up to you, the library won't do it for you. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bcakmakoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can turn off dragging, selecting, focusing, deleting etc. - but "disabling" a node is not a built-in functionality, no.
You can find the full properties list of a node here.
Styling is up to you, the library won't do it for you.