Graph topic panel
(→See also) |
|||
Line 1: | Line 1: | ||
− | Graph topic panel is one of several available [[topic panels]] in Wandora. | + | Graph topic panel is one of the several available [[topic panels]] in Wandora. The graph topic panel views topics as graph nodes and associations as edges between the topic nodes. A node is a colored rectangle with topic's name. The color represents a class of the topic. The edge is a colored line between nodes. The color of the line represents association's type. Association type and roles are viewed when user takes the mouse pointer over line. If association connects more than two topics i.e. it is a hyper-edge, the line branches to each topic node. |
+ | |||
+ | The Graph topic panel is not a default visualization in Wandora and the user has add the Graph topic panel into the Wandora. A Graph topic panel is added to the Wandora by selecting a menu option '''View > Add topic panel > Graph topic panel'''. Fresh graph topic panel views current topic with it's immediate topic neighbours in the panel. | ||
When user selects to view a topic in Graph topic panel, the topic and it's neighbors are shown. User may expand the initial graph by clicking topic nodes or selecting '''Expand node''' in context menu of topic node. Opening a topic with topic tree also expands the graph with opened topic. A node is closed by selecting '''Close nodes''' in context menu of topic node. Node filtering is also possible. Wandora keeps filtered nodes hidden regardless node opens while closed nodes pop open again while expanded. | When user selects to view a topic in Graph topic panel, the topic and it's neighbors are shown. User may expand the initial graph by clicking topic nodes or selecting '''Expand node''' in context menu of topic node. Opening a topic with topic tree also expands the graph with opened topic. A node is closed by selecting '''Close nodes''' in context menu of topic node. Node filtering is also possible. Wandora keeps filtered nodes hidden regardless node opens while closed nodes pop open again while expanded. |
Revision as of 22:15, 25 October 2013
Graph topic panel is one of the several available topic panels in Wandora. The graph topic panel views topics as graph nodes and associations as edges between the topic nodes. A node is a colored rectangle with topic's name. The color represents a class of the topic. The edge is a colored line between nodes. The color of the line represents association's type. Association type and roles are viewed when user takes the mouse pointer over line. If association connects more than two topics i.e. it is a hyper-edge, the line branches to each topic node.
The Graph topic panel is not a default visualization in Wandora and the user has add the Graph topic panel into the Wandora. A Graph topic panel is added to the Wandora by selecting a menu option View > Add topic panel > Graph topic panel. Fresh graph topic panel views current topic with it's immediate topic neighbours in the panel.
When user selects to view a topic in Graph topic panel, the topic and it's neighbors are shown. User may expand the initial graph by clicking topic nodes or selecting Expand node in context menu of topic node. Opening a topic with topic tree also expands the graph with opened topic. A node is closed by selecting Close nodes in context menu of topic node. Node filtering is also possible. Wandora keeps filtered nodes hidden regardless node opens while closed nodes pop open again while expanded.
Graph topic panel also has current topic but you can't edit it's internal structures such as subject identifiers or variant names. To edit topic's internal structures you need to change topic panel to Traditional or Tabbed topic panel.
To zoom in and out the graph panel use mouse wheel. To change the curvature of graph perspective press SHIFT key while rolling the mouse wheel. If the curvature is large enough, Wandora views a graph horizon, a gray circle around the graph. Graph can't cross the horizon although it can be infinite close to it. To center the graph select Center graph or click Center current topic node button. If you have closed or filtered the current topic node centering doesn't work.
To stop graph animation right click the topic panel and choose Toggle animation. To antialias the graph select Antialias graph. Antialiasing slows down the graph drawing.
Usually graph becomes very dense if you open hundreds of nodes. You can filter out undesired edges with edge context menu option Filter associations > Filter edges of type X where X is association type of current edge. Selecting Clear association filters clears all edge filters. However, Wandora doesn't view previously filtered edges automatically but user must expand nodes again to make edges visible.
Left edge of Graph panel contains mouse mode buttons. Mouse mode defines how Wandora interprets mouse clicks, movements, and drags. Available mouse modes are:
- Move mode
- Select mode
- Association mode
Move mode
While move mode is active, mouse moves graph and nodes.
To drag the graph, press left mouse button on panel background, keep the mouse button down and move mouse.
To rotate the graph, keep SHIFT key pressed while dragging the mouse over panel background. Graph is rotated around the current topic node.
To move single topic node, press left mouse button on topic node, keep the mouse button down and move mouse. Note that node may change it's position after mouse button release as nodes have their own dynamics.
To lock node position on graph, select Pin nodes > Set selection pinned in node context menu. To release pinned node select Pin nodes > Set selection unpinned. Pinning and unpinning is not restricted to move mode but works in any mode.
Select mode
Select mode enables the user to draw closed paths on graph panel. Wandora selects topics within the closed curve. Selected nodes are colored gray-blue.
To select single nodes user can also click on the node. Previous selection is cleared unless the user holds SHIFT key pressed while clicking on the node.
To select nodes according to topic's type or internal structure user can also use selection tools found in Select menu. Available selection tools allow the user to select topics without classes or instances for example. Select menu is available regardless the chosen mouse mode.
Association mode
While association mode is active mouse behavior resembles move mode except that clicking left mouse button on node activates Draw association. To draw association press left mouse button on a topic node and drag mouse over another topic node. A line is drawn from source node to mouse pointer during drag. When you release the mouse button over a node, association editor is viewed. By default the association editor has pointed topics as association players. To create a valid association you need to choose association type and roles.
See also
- Traditional topic panel
- Tabbed topic panel
- Custom topic panel
- Treemap topic panel
- R topic panel
- Processing topic panel
- Sketch grid