An input that can be shared between diagrams and get/set from outside the diagram. You should call useSharedInput to create a shared input, rather than calling new SharedInput directly.
useSharedInput
new SharedInput
Optional
Readonly
Add an effect to run when the value of the input changes.
Effect to run
Get the current value of the input.
Get whether the input is optimized.
Remove an effect added with addEffect from the input.
addEffect
Effect to remove
Set the value of the input. This will update the value in all diagrams, and trigger a re-render for the component that created the input.
Value to set the input to
An input that can be shared between diagrams and get/set from outside the diagram. You should call
useSharedInput
to create a shared input, rather than callingnew SharedInput
directly.