[BUG]: In SelectionModel, the selectNode function has performance issue.
Describe the bug Within the SelectionModel class, it is crucial for the SelectNode function to be robust. SelectNode should adeptly manage both the "select all" and individual node selection scenarios, ensuring the emission of the appropriate signals to prevent unnecessary actions that could lead to performance issues.
Check it: #174
To Reproduce Steps to reproduce the behavior:
- Run the app in the profile mode
- Select all nodes, you can see the app is slow in selecting model.
- See the profile results.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Software Versions Application version: (add either official git release version or git SHA) Firmware version: (add either official git release version or git SHA)
Additional context Add any other context about the problem here.