Using the Mouse
Using the Mouse
In uDraw(Graph) you can use the three buttons of the mouse this way:
If your mouse has only two buttons there are two possibilities. On the Windows® platform, the middle mouse button is simulated in uDraw(Graph) by keeping the CTRL-Key on the keyboard pressed while using the left mouse button. On the UNIX® and LINUX® platform, you have to refer to the documentation of your X11 environment to see how the middle mouse button is simulated (often this is done by pressing both mouse buttons simultaneously). If you have a wheel mouse with two visible buttons, you might check if the wheel can be pressed, because the wheel is often used as the middle mouse button.
Note: On Mac OS® X the standard mouse has only one button. This is the left mouse button described here. If you want to have access to the features described for the other mouse buttons, you should install a 3-button mouse. If this is not a solution for you, please use the following modifier keys to use the features described below with only one or two buttons:
Left Mouse Button
As usually, this mouse button is used for any kind of selection,
activation, movement and for placing the text cursor.
A user can extend or reduce the current selection by using the SHIFT key and the left mouse button simultaneously. With SHIFT-select, you add or remove a particular node from the set of currently selected nodes, depending on whether or not the node was selected before. In other words: With SHIFT, the old selection will not be lost after a new selection. SHIFT selection also works in combination with rubber band selection.
Middle Mouse Button (or equivalent operation with a 2-button mouse, see above)
Note: if you have only a 2-button mouse without emulation for the middle mouse button, then the functions of the middle mouse button are not directly available for you. But they are only accelerators for functions that can be accessed elsewhere, too. Namely you can scroll with the vertical and horizontal scrollbars of the base window. Instead of using drag & drop, you can achieve the same insertion operations with the menus, for example in the graph editor application.
The middle mouse button is used for moving and copying elements. You can usually use the button to move (i.e. scroll) the visible part of a graph area in a base window. As long as you press the middle mouse button anywhere in the graph area, the window will scroll in both dimensions at the same time when you move the mouse. This is called 2D-scrolling.
Right Mouse Button
This mouse button is used for working with pop-up menus. By clicking with the right button in the graph area of a base window, the user is able to select an operation by browsing through menus and submenus and releasing the mouse button over the desired menu entry. For acceleration, the graph area has a built-in pop-up menu with some frequently used functions.
Pop-up menus can also be used by an application program connected
to the API.
Here, nodes and edges in a graph can have a special