Filtering by Layers
Inside an
IlvGrapher, nodes and links can be managed by layers. (See the
IlvManagerLayer class). Rogue Wave Views allows you to specify that only nodes and links belonging to certain layers have to be taken into account when performing the layout. Use the following methods of the
IlvGrapherAdapter class:
To get an enumeration of the manager layers to be taken into account during the layout, use the method:
If no layers have been specified or all the specified layers have been removed, all layers in the IlvGrapher are used. In this case, the IlvGrapherAdapter::getLayers method returns an empty array.
When at least one layer is specified, an
IlvLayoutGraphicFilter is created internally if it has not already been specified using the
setFilter method. The default implementation of its
accept method will automatically check whether a node or a link received as an argument belongs to one of the specified layers.
Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.