This PR no longer relies on Reactflow's `selected` property to determine whether a node is selected. Instead, we rely on the pre-existing `workflowSelectedNodeComponentState` state. It makes it easier to to synchronize what's displayed in the side panel and which node is styled as being selected. ## Demo - workflows https://github.com/user-attachments/assets/3848c5f9-df51-48e2-8b9c-f083d25d14ed ## Demo - workflow versions https://github.com/user-attachments/assets/9ac9ec6c-e6b1-4f24-a817-a7349e1b70d6 ## Demo - workflow runs https://github.com/user-attachments/assets/54f955cf-dacc-43f8-b684-01e8a6c15f3b