new go.Binding(
"filter",
"metaData",
(metaData) => {
if (metaData?.styles?.disabled) {
return "grayscale(100%)";
}
return null;
}
);
I am fading out some nodes based on disabled property passed in the node data.
But the node is still selectable.
How do i prevent the node from getting selected or remove hover effects if it has disabled property