Back to RCL Command Index
No arguments accepted.
Description:
This procedure causes the Rigi to reconstruct and redraw the subgraph displayed in the active window. Any selected nodes and arcs are deselected and any nodes that have been filtered by selection are redrawn. This procedure is used to manually synchronize subgraph in the active window with the underlying graph model after editing operations, such as rcl_paste have been executed in another window. For example, if two windows, 5 and 6, have a view of the same set of nodes and in window 5 a node is cut and re-pasted, window 6 will require an update to reflect the latest version of the subgraph.
(If the window has no backing store assigned and if there is an unassigned backing store and if the window has a large number of draw objects, Rigi will assign a backing store to the window before redrawing it.)
Return Value:
None.
Exceptions:
None.
Example:
# Update and redraw all windows
set allwins [winfo children .]
foreach child
allwins {
if {[scan
child ".window%d" winid] == 1} {
rcl_win_select
winid
rcl_update
}
}
Back to RCL Command Index |