All layout classes inherit the
performLayout
method
from the ibm_ilog.graphlayout.GraphLayout
class.
This method calls createLayoutReport
to
obtain a new instance of the layout report. You can retrieve the layout
report instance by using the method getLayoutReport after
layout completion. The default implementation in the base layout class
creates an instance of ibm_ilog.graphlayout.GraphLayoutReport
.
Some subclasses override this method to return an appropriate subclass.
Other classes, such as ibm_ilog.graphlayout.random.RandomLayout
,
do not need specific information to be stored in the layout report
and do not override createLayoutReport
.
In this case, the base class ibm_ilog.graphlayout.GraphLayoutReport
is
used. When using the layout classes, you do not need to instantiate
the layout report yourself. This is done automatically.