Graphic Components > Network Component > Network Component Services > Expansion strategy

The network adapter uses an expansion strategy to identify whether objects should be loaded or not in the network model. The expansion strategy defines how an object is going to behave when it is expanded, for example, when the user opens a network node by double-clicking or by using the network expansion handles. The expansion strategy indicates whether load on demand is implemented and provides methods to load and release child nodes.

The network adapter uses an expansion strategy factory to decide the expansion strategy to apply to a network node when it is created by the adapter. The default expansion strategy factory implementation, ilog.cpl.graph.IlpDefaultNodeExpansionStrategyFactory, checks the property "expansion" of each business object in the cascading style sheet loaded in the component to identify the expansion strategy to use.

The default network expansion strategy factory supports three types of expansion strategies:

See Customizing the Expansion of Business Objects in the Styling documentation for information on how to customize the business object expansion type, which is defined by the property expansion.

The expansion strategy factory can be customized for the adapter either through CSS or through the API.