Graph Layout in Rogue Wave Views
In Rogue Wave Views, graphs are instances of the class
IlvGrapher. We call these instances
graphers. The nodes, which are instances of
IlvGraphic, and the links, which are instances of
IlvLinkImage, “know” how to draw themselves. The nodes can have arbitrary coordinates, or they can be placed interactively or by code. All that needs to be done to lay out the grapher to obtain a readable drawing is to compute and assign appropriate coordinates for the nodes. In some cases, the shape of the links may also need to be modified. The main task of the Graph Layout package is to provide support for the operation of laying out a grapher—that is, drawing the graph.
The Graph Layout package of Rogue Wave Views benefits from its integration with the graph visualization and graph manipulation features of the Rogue Wave Views 2D Graphics Professional product. This core library provides a wide range of very useful features to build powerful graphic interfaces easily:
Predefined, extensible types of graphic objects for nodes and links
A customizable mechanism to choose the contact points between links and nodes
Grapher interactor classes
Multiple views of the same grapher
Management of multiple layers
Selections management
Events management
Listeners on the contents of the grapher and/or on the views
Printing facilities
User properties on nodes and links
Input/output operations
For details on these features, see the Rogue Wave Views Foundation and 2D Graphics Professional User’s Manuals.
Note: The Graph Layout package allows you to add layout capabilities to applications that do not use the Rogue Wave Views grapher. For details, see Laying Out a Non-Views Grapher. |
Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.