You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zoomOn and panTo of multiple nodes at once is crucial since it needs to compute the center point of all of them. However, you can just call toggleHighlight() multiple times for each entity.
Is it really necessary to highlight multiple entities in one call? If so, then we really need to decide on one method. If we stick with the current method then we need to document that to achieve highlighting of multiple nodes with different colors, you must call the method multiple times.
The text was updated successfully, but these errors were encountered:
Currently, the parameters for highlight functions (toggleHighlight, highlightOn and highlightOff) are like this:
This means that if you want to highlight three nodes three different colours you have to fire the function three times.
Alternatively, it could be changed to:
This would allow you to toggle the highlighting of three different entities with different colours in one call.
Thoughts
toggleHighlight()
multiple times for each entity.Is it really necessary to highlight multiple entities in one call? If so, then we really need to decide on one method. If we stick with the current method then we need to document that to achieve highlighting of multiple nodes with different colors, you must call the method multiple times.
The text was updated successfully, but these errors were encountered: