ilog.views.graphlayout.IlvGraphLayoutReport
- New Fields:
- EXCEPTION_DURING_LAYOUT:
The return code for the layout of nested graphs
if an exception has been raised during layout.
ilog.views.graphlayout.IlvGraphLayoutUtil
- New methods:
- EnsureAppropriateLinkTypes:
Ensures that all the links of the specified
IlvGrapherAdapter are
appropriate for a particular layout algorithm.
- EnsureAppropriateLinkConnectors:
Ensures that all the link connectors of the specified
IlvGrapherAdapter are
appropriate for a particular layout algorithm.
- EnsureAppropriateLinks:
Ensures that all the links and link connectors of the specified
IlvGrapherAdapter
are appropriate for a particular layout algorithm that has raised an
IlvInappropriateLinkException.
- ConnectLinksToPoint:
Convenience method to connect all links incident to a node at a
specific point.
- The following methods are related to clipping and intersections:
- BestClipPointOnRay
- PointOnRay
- LineIntersectsSegment
- LineIntersectsPolyPoints
- LineIntersectsEllipse
- LineIntersectsArc
- LineIntersectsQuadSpline
- LineIntersectsCubicSpline
- ArcStartPoint
- ArcEndPoint
ilog.views.graphlayout.IlvGraphModel
- Overview of new features:
- Support for recursive layout over a nested graph.
- New methods:
- getParentModel:
Returns the parent model of this model.
- getRootModel:
Returns the root model of this model.
- getGraphModel:
Returns a graph model instance for a subgraph of a nested graph.
- createGraphModel:
Creates a new graph model for a subgraph.
- getLayouts:
Returns the instances of IlvGraphLayout for
the nested graph encapsulated by the graph model of this layout instance.
- performLayout:
Applies layout instances recursively to this graph model.
- isLayoutNeeded:
Checks if a given layout that has been already applied to this
graph is still valid.
- getSubgraphs:
Returns an enumeration of the subgraphs.
- getSubgraphsCount:
Returns the number of subgraphs.
- getInterGraphLinks:
Returns an enumeration of the intergraph links.
- getInterGraphLinksCount:
Returns the number of intergraph links.
- isInterGraphLink:
Checks whether an object is an intergraph link.
- isSubgraph:
Checks whether an object is a subgraph.
- structureChanged:
Notifies the Graph Model listeners that the topology of
the graph has changed.
- geometryChanged:
Notifies the Graph Model listeners that the geometry of
the graph has changed.
- adjustmentEnd:
Notifies the Graph Model listeners that it is the end of
a major modification of its contents.
- getInstanceId:
A utility method that returns a unique integer value for
each graph model instance inside the same Java program.
- Modified methods:
- dispose:
Disposes of this graph model. The method is no longer called
inside finalize. You must call the method if you allocated
the graph model explicitly. The JViews framework calls it
automatically for all implicitly created graph models.
ilog.views.graphlayout.IlvGrapherAdapter
- Overview of new features:
- Support for recursive layout over a nested graph.
- Persistence of preferred layouts in IVL files.
- Choices for the coordinate space to be used.
- New methods:
- get/setCoordinatesMode:
Returns/sets the coordinate mode to be used during layout.
- savePreferredLayoutsToNamedProperties:
Transfers the preferred layout settings to named properties of the grapher.
- loadPreferredLayoutsFromNamedProperties:
Loads the preferred layout settings from the named properties.
- saveAndEnableViewCoordinates:
Saves the reference transformer and reference view such that it can
later be restored.
- restoreAndDisableViewCoordinates:
Restores the reference transformer and reference view that was
previously saved.
ilog.views.graphlayout.GraphLayoutEvent
- New methods:
- isLayoutStarted:
Indicates whether an event is the first event at the beginning
of the layout process of a graph.
- isLayoutFinished:
Indicates whether an event is the last event at the end
of the layout process of a graph.
ilog.views.graphlayout.IlvInappropriateGraphException
- New methods:
- get/setGraphModel:
Returns/sets the graph model for which the exception was raised.
- getGraphLayout:
Returns the graph layout for which the exception was raised.
ilog.views.graphlayout.IlvInappropriateLinkException
- New fields:
- CANNOT_RESHAPE_INTERGRAPH_LINK_TO_STRAIGHT:
The type of the exception when intermediate points cannot be removed
from an intergraph link.
- CANNOT_RESHAPE_INTERGRAPH_LINK_TO_POLYLINE:
The type of the exception when intermediate points cannot be added
to an intergraph link.
ilog.views.graphlayout.IlvRelativeLinkConnector
- New methods:
- allowsConnectionPointMove:
The interactors call this method to determine if the connection points can be moved.
By default, it returns
false
for this connector.
- connectionPointMoveAllowed:
Allows you to enable or disable moving of the connection points by interactors.
- getNodeBoundingBox:
Returns the bounding rectangle of the node. The method can be overridden to
change the base rectangle of the connection points.
- Modified behavior:
- By default, the connection points can no longer be moved
using the interactors provided by the library. This avoids the risk of
accidentally moving the connection points. To make the connection points
movable using the interactors, call the method
connectionPointsMoveAllowed
with a
true
argument.
ilog.views.graphlayout.IlvGraphLayoutGrapherProperty
ilog.views.graphlayout.IlvGraphLayoutNodeProperty
ilog.views.graphlayout.IlvGraphLayoutLinkProperty
- New methods:
- dispose:
Disposes of the property and releases any resources that it is using.
The method is overridden in all subclasses of
IlvGraphLayoutGrapherProperty,
IlvGraphLayoutNodeProperty, and
IlvGraphLayoutLinkProperty.
ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout
- Overview of new features:
- The Hierarchical Layout has a new incremental mode.
In incremental mode, the coordinates of nodes and links are taken
into account during layout. Hence, performing a re-layout after
incremental changes of the graph does not rearrange the graph
completely anymore; instead it cleans up the drawing incrementally, so
that it is easy to preserve the mental map of the graph.
- The Hierarchical Layout supports various relative position constraints.
It contains a powerful constraint resolution that is able to handle
conflicting constraints very efficiently.
- New methods:
- is/setIncrementalMode:
Returns/sets whether the incremental mode is used.
- is/setLongLinkCrossingReductionDuringIncremental:
Returns/sets whether crossing reduction is performed during
incremental layout for long links that span several levels.
- is/setCrossingReductionDuringIncremental:
Returns/sets whether crossing reduction is performed during
incremental layout for all nodes and links.
- is/setIncrementalAbsoluteLevelPositioning:
Returns/sets whether the nodes should be placed close to their
previous absolute positions during incremental layout.
- get/setIncrementalAbsoluteLevelPositionTendency:
Returns/sets how much the previous absolute positions influence the
new node positions during incremental layout.
- get/setIncrementalAbsoluteLevelPositionRange:
Returns/sets the range around the previous absolute positions so that
a node, when placed within the range, is considered close enough to its
previous position such that the position tendency has
no influence during incremental layout.
- get/setIncrementalNodeBoxForExpand:
Returns/sets the effective bounding rectangle of an expanded node
during incremental layout. If you expand a subgrapher, usually the
resulting node is much larger than in the collapsed state, with the
expanded node overlapping everything before performing layout. This is an
additional challenge for the incremental layout. By specifying the node
box for expansion, you give the layout algorithm a hint on how to solve this
challenge.
- markForIncremental:
Allows you to mark those nodes and links that should not be treated
incrementally during the next run of the incremental layout.
- addConstraint:
Adds a constraint to the Hierarchical Layout.
- removeConstraint:
Removes one constraint from the Hierarchical Layout.
- removeAllConstraints:
Removes all constraints from the Hierarchical Layout.
- getNumberOfConstraints:
Returns the number of constraints that were added to the Hierarchical Layout.
- getConstraints:
Returns the constraints that were added to the Hierarchical Layout.
- validateConstraints:
Validates the constraints of the Hierarchical Layout, that is, it
removes those constraints that became meaningless.
- getNumberOfNodeGroups:
Returns the number of node groups that occur in constraints
of the Hierarchical Layout.
- getNodeGroups:
Returns the node groups that occur in constraints
of the Hierarchical Layout.
- is/setPolylineLinkOverlapReductionEnabled:
Returns/enables whether optimization of polyline links to avoid
links overlapping large neighbored nodes.
- get/setPosition:
Allows you to specify the position of the layout.
- Modified methods:
- setLinkPriority:
Link priorities should be smaller than 10000.
- setSpecNodeLevelIndex:
The node level index is taken into account only if there are no
contradictory constraints specified for the node.
- setSpecNodePositionIndex:
The node position index is taken into account only if there are no
contradictory constraints specified for the node.
ilog.views.graphlayout.link.IlvLinkLayout
- Overview of new features:
- Support of intergraph link routing.
- New methods:
- is/setInterGraphLinksMode:
Enables the routing of intergraph links.
- is/setCombinedInterGraphLinksMode:
Enables the routing of intergraph links combined with normal links.
ilog.views.graphlayout.longlink.IlvLongLinkLayout
- Overview of new features:
- Support of intergraph link routing.
- New methods:
- is/setInterGraphLinksMode:
Enables the routing of intergraph links.
- is/setCombinedInterGraphLinksMode:
Enables the routing of intergraph links combined with normal links.
- Modified methods:
- setLinkConnectionBoxInterface:
The method now takes an
IlvLinkConnectionBoxInterface
instead of an
IlvNodeBoxInterface
as input.
ilog.views.graphlayout.shortlink.IlvShortLinkLayout
- Overview of new features:
- Support of intergraph link routing.
- New methods:
- is/setInterGraphLinksMode:
Enables the routing of intergraph links.
- is/setCombinedInterGraphLinksMode:
Enables the routing of intergraph links combined with normal links.
ilog.views.graphlayout.tree.IlvTreeLayout
- Overview of new features:
- A nonincremental mode is available in addition to the normal
incremental mode. In nonincremental mode, the ordering of the
children is not derived from the coordinates but from the
node order delivered by the graph model.
- A new alignment style is available that tips over children at
both sides of the parent node.
- Link connector styles are now supported in the same way as
in hierarchical layout.
- The radial mode can optionally distribute the nodes evenly
on the first circle.
- New fields:
- TIP_OVER_BOTH_SIDES:
Valid argument for the methods
setAlignment and
setGlobalAlignment.
- AUTOMATIC_PINS,
CENTERED_PINS,
CLIPPED_PINS,
EVENLY_SPACED_PINS:
Valid arguments for the method
setConnectorStyle.
- New methods:
- is/setIncrementalMode:
Returns/sets whether the incremental mode is enabled.
- is/setRespectNodeSizes:
Returns/sets whether node sizes should be respected during layout.
- get/setConnectorStyle:
Returns/sets the style of how connectors are placed at the node
border.
- is/setFirstCircleEvenlySpacing:
Returns/sets whether the nodes should be evenly distributed at the
first circle in radial layout mode.
- setPosition:
Sets the position of the layout.
- setRootPosition:
Sets whether the specified position is the position of the root node
or of the upper-left corner of the drawing.