Table of Contents
The main window displays the loaded graphs, each in its own tab. Initially, if you start KGraphViewer without arguments, its main window will be empty as in the screenshot below. In this case, the toolbar contains only the and the (empty) items. Click on the first one to open the standard Open File dialog.
After selecting one or several DOT files, the main window looks like the next screenshot below:
As you can see, if the graph is larger than the available area, a bird's-eye view is shown in one corner. You can choose with the context menu whether the optimal position of this overview should be automatically computed for you, or place it where you want yourself.
To move the graph, you can:
Click and drag it;
Use the scroll bars;
Press the arrows keys;
Click somewhere in the bird's-eye view;
Use the mouse wheel (up and down with no modifier, left and right with the Alt key pressed);
or click and drag in the bird's-eye view.
To zoom, you can either use the and toolbar buttons to zoom in and out, or hold down the Shift key while rolling your mouse wheel. While zooming in, the red rectangle in the bird's-eye view that indicates the displayed zone gets smaller and smaller. If it were to get smaller than 10 pixels in its shorter side, it will be replaced by a filled red rectangle in order to stay visible. You can see that on the screenshot below.
Zooming is limited in both directions by a factor of 10. You can see below the maximum zoom-out factor on a graph.
If a file currently loaded in KGraphViewer is modified by another program, the following dialog is shown:
You can choose to reload the graph or to ignore the change. You can also get KGraphViewer to remember your choice, so it will do the same thing the next time. If you later want to modify your choice, choose the → menu item. See the section called “Configuring KGraphViewer”.
When you open a graph file from outside a running KGraphViewer instance, e.g. from a file browser or the command line, you have the choice to open a new KGraphViewer window or to open the graph in a new tab in the existing window. This is done with the dialog below.
As for the previous option, you can save your default choice and modify it later in the configuration dialog.