Refreshing the display in real time
If your application data changes continually with real-time updates, the diagram display must stay synchronized and will therefore need to be refreshed often.
JViews Diagrammer uses refresh techniques that reduce the amount of graphical primitives to draw, while eliminating the annoying flickering effect that you can observe when a screen is erased and redrawn. It uses techniques like
double buffering or
triple buffering.
More generally, the 2D vectors that draw the basic shapes for nodes, links, and vector maps to be displayed in a
view are stored in a spatial data structure called the
grapher. The grapher ensures very fast redisplays and user interactions even when the diagram and its background reach several hundreds of thousands of vectors.
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.