Is it possible to change a node input property at runtime, from the backend of the node? I tried using config.property = new_value but it seems it is not correct.
Thank you,
Catalin
Is it possible to change a node input property at runtime, from the backend of the node? I tried using config.property = new_value but it seems it is not correct.
Thank you,
Catalin
A node is free to do whatever it wants with its internal configuration, but it cannot change the deployed flow configuration.
And more specifically, can you change the label of a node to be a value given by the backend. For example, in the backend a value is set in context.global, can it be accesed from the frontend?
Catalin
No.
A node should not be using global context to store its own state.
The only mechanism available for the runtime to do anything to the editor is through the node.status()
messages. Nothing else in the editor can be modified by the runtime.
I understand. Thank you for the explanations !
Catalin