Basic Steps for Using Layout Algorithms: A Summary
To use the layout algorithms provided by the Graph Layout package of Views, you will usually perform the following steps:
1. Create a grapher object (
IlvGrapher) and fill it with nodes and links.
6. Read and display information from the layout report. The layout report is an object in which the layout algorithm stores information about its behavior. For details, see
Using a Layout Report.
7. When the layout instance is no longer needed, detach the grapher from the layout instance. See
Detaching a Grapher.
A sample application that illustrates these steps is provided with the release. The section
Sample Application tells you how to compile and run the application and provides the sample code. You can use this application as an example to get started with the layout algorithms of the Graph Layout package.
Published date: 05/24/2022
Last modified date: 02/24/2022