Community
Participate
Working Groups
When selecting nodes or edges in a large graph, certain actions have a delay while others happen instantly. The following could be observed with a graph with 250 nodes and 1000 edges. The GEF version is 5.0 Milestone 2. Selecting a node with nothing previously selected has a delay. Selecting a node when another one is already selected has no delay. Deselecting one or multiple nodes (clicking on an empty spot) has a delay. When selecting multiple nodes, the selection rectangle appears with a delay but selection after releasing the mouse button is instant. The same goes for edges. Switching between edges and nodes also has a small delay.
(GEF MVC FX 5.0.2) I managed to get rid of the selection/deselection delay by modifying the default FocusBehavior (coming from GEF MVC FX). The methods #addViewerFocusedFeedback() and #removeViewerFocusedFeedback always change the whole style of the underlying viewer's Canvas. After removing the style change the delay was gone and of course the blue focus-border as well. This is no solution anyways, but it may help to fix this issue or help others who don't need the blue border.