Change node property at runtime

#1

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

#2

A node is free to do whatever it wants with its internal configuration, but it cannot change the deployed flow configuration.

#3

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

#4

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.

#5

I understand. Thank you for the explanations :slight_smile: !

Catalin