Release Notes |
This document describes the main changes that have been made to the JViews Graph Layout module since version 5.0.
Incompatibilities
General Changes
Library Changes
New Packages
New Interfaces and Classes
ilog.views.graphlayout.IlvAutoLayoutHandler
ilog.views.graphlayout.hierarchical.IlvSwimLaneConstraint
ilog.views.graphlayout.labellayout.IlvLabelMovementPolicy
ilog.views.graphlayout.labellayout.annealing.IlvObstacleOffsetInterface
ilog.views.graphlayout.labellayout.annealing.IlvOverlappingLabelMovementPolicy
ilog.views.graphlayout.recursive.IlvRecursiveLayout
ilog.views.graphlayout.recursive.IlvRecursiveLayoutGrapherProperty
ilog.views.graphlayout.recursive.IlvRecursiveLayoutProvider
ilog.views.graphlayout.recursive.IlvRecursiveLayoutReport
ilog.views.graphlayout.recursive.IlvRecursiveMultipleLayout
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionBarycenterFixed
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionBoundsFixed
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionInterface
Modified ClassesChanges in Composer
ilog.views.graphlayout.GraphModelEvent
ilog.views.graphlayout.IlvClipLinkConnector
ilog.views.graphlayout.IlvDefaultLayoutProvider
ilog.views.graphlayout.IlvGraphLayout
ilog.views.graphlayout.IlvGraphLayoutException
ilog.views.graphlayout.IlvGraphLayoutUtil
ilog.views.graphlayout.IlvGraphModel
ilog.views.graphlayout.IlvGrapherAdapter
ilog.views.graphlayout.IlvRelativeLinkConnector
ilog.views.graphlayout.bus.IlvBusLayout
ilog.views.graphlayout.circular.IlvCircularLayout
ilog.views.graphlayout.grid.IlvGridLayout
ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout
ilog.views.graphlayout.hierarchical.IlvNodeGroup
ilog.views.graphlayout.labellayout.IlvDefaultLabelingModel
ilog.views.graphlayout.labellayout.IlvLabelingModel
ilog.views.graphlayout.labellayout.LabelingModelEvent
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelLayout
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPointLabelDescriptor
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPolylineLabelDescriptor
ilog.views.graphlayout.link.IlvLinkLayout
ilog.views.graphlayout.link.longlink.IlvLongLinkLayout
ilog.views.graphlayout.link.shortlink.IlvShortLinkLayout
ilog.views.graphlayout.multiple.IlvMultipleLayout
ilog.views.graphlayout.IlvGrapherAdapter
ilog.views.graphlayout.labellayout.IlvDefaultLabelingModel
IlvRecursiveLayout
class.Hierarchical Layout
improvements:
IlvGrapherPin
):
Short Link Layout
improvements:
Node Side Filter
is now always strictly respected (if necessary, orthogonal links
with up to four bends are created).
Annealing Label Layout
.Circular Layout
improvements:
a new optional mode for specifying the clustering using subgraphs, taking into
account both normal and intergraph links while preserving the initial position of
the subgraphs.Bus Layout
and
Grid Layout
.
(Control is now provided over the number of nodes per level or row or column.)For details about methods that have been deprecated, see this.
ilog.views.graphlayout.recursive
The Recursive Layout class is not really a layout algorithm but rather a facility to traverse a nested graph containing subgraphs and perform layouts recursively for each subgraph.
ilog.views.graphlayout.IlvAutoLayoutHandler
An interface used to perform a layout automatically again following a structural or geometric change of the graph.
ilog.views.graphlayout.hierarchical.IlvSwimLaneConstraint
The class
IlvSwimLaneConstraint
is a constraint that forces a group of nodes to be placed in the same column or row.
ilog.views.graphlayout.labellayout.IlvLabelMovementPolicy
An interface used to define the policies when a label is allowed to be moved by the label layout algorithm.
ilog.views.graphlayout.labellayout.annealing.IlvObstacleOffsetInterface
An interface used to select specific mimimal offsets between certain label/obstacle pairs.
ilog.views.graphlayout.labellayout.annealing.IlvOverlappingLabelMovementPolicy
A label movement policy that allows a label to be moved by the label layout algorithm only if the label initially overlaps other labels or obstacles.
ilog.views.graphlayout.recursive.IlvRecursiveLayout
The main class for the Recursive Layout algorithm.
ilog.views.graphlayout.recursive.IlvRecursiveLayoutGrapherProperty
The class
IlvRecursiveLayoutGrapherProperty
allows you to store the global settings of an instance ofIlvRecursiveLayout
as a named property in the grapher.
ilog.views.graphlayout.recursive.IlvRecursiveLayoutProvider
The internal layout provider used by the Recursive Layout in internal provider mode.
ilog.views.graphlayout.recursive.IlvRecursiveLayoutReport
The class used to store information about the behavior of the Recursive Layout algorithm.
ilog.views.graphlayout.recursive.IlvRecursiveMultipleLayout
The main class for the Recursive Multiple Layout algorithm.
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionBarycenterFixed
This subgraph correction strategy keeps the barycenter of a subgraph fixed during recursive layout.
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionBoundsFixed
This subgraph correction strategy keeps the bounds of a subgraph fixed during recursive layout.
ilog.views.graphlayout.recursive.IlvSubgraphCorrectionInterface
An interface used to define corrections of a subgraph after the layout of the subgraph was performed.
ilog.views.graphlayout.GraphModelEvent
getNodeOrLink()
:
Returns the node or link that causes the event.
setNodeOrLink(Object)
:
Sets the node or link that causes the event.
isAdjustmentEnd()
:
Returns true
if this event is the end of a series of modifications.
setAdjustmentEnd(boolean)
:
Changes the adjustment end flag of the event.
LINK_ADDED
:
The bit mask of the type of the event when an link has been added.
LINK_GEOMETRY_CHANGED
:
The bit mask of the type of the event when a link has been reshaped.
LINK_REMOVED
:
The bit mask of the type of the event when an link has been removed.
NODE_ADDED
:
The bit mask of the type of the event when a node has been added.
NODE_GEOMETRY_CHANGED
:
The bit mask of the type of the event when a node has been moved or resized.
NODE_REMOVED
:
The bit mask of the type of the event when a node has been removed.
ilog.views.graphlayout.IlvClipLinkConnector
IlvClipLinkConnector(IlvLinkImage, boolean)
:
Creates an IlvClipLinkConnector
attached to the origin or destination of the link link
.
ilog.views.graphlayout.IlvDefaultLayoutProvider
setPreferredLayout(IlvGraphModel, IlvGraphLayout, boolean, boolean)
:
Sets the layout instances to be used for laying out graphModel
.
ilog.views.graphlayout.IlvGraphLayout
IlvRecursiveLayout
class. This provides an improved customization of the recursive
layout process.IlvAutoLayoutHandler
.
getAutoLayoutHandler()
:
Returns the autolayout handler.
setAutoLayoutHandler(IlvAutoLayoutHandler)
:
Sets the autolayout handler.
getLayout(Object)
:
Returns the layout instance for a subgraph of the nested graph encapsulated by the graph model of this layout instance.
getLayoutRegion()
:
Returns a copy of the rectangle that defines the layout region, as specified using the methods
setLayoutRegion(IlvManagerView, IlvRect)
,
setLayoutRegion(IlvManagerView)
, or
setLayoutRegion(IlvRect)
.
getProperty(String)
:
Returns the value of a property of the layout instance.
setProperty(IlvGraphModel, Object, String, Object)
:
Sets the value of a property for a node or a link, using a given graph model.
setProperty(String, Object)
:
Sets the value of a property for the layout instance.
getProperty(IlvGraphModel, Object, String)
:
Returns the value of a property of the layout instance.
getRecursiveLayout()
:
Returns the instance of Recursive Layout that is used to perform this layout recursively when you call
performLayout(boolean, boolean, boolean)
with the traverse flag set to true.
isAutoLayout()
:
Returns true
if the autolayout mode is enabled.
setAutoLayout(boolean)
:
Enables the autolayout mode.
performAutoLayout()
:
Performs the layout again following a structural or geometric change of the graph.
performSublayout(Object, IlvGraphLayout, boolean, boolean)
:
Starts the input layout algorithm.
ilog.views.graphlayout.IlvGraphLayoutException
getNext()
:
Returns the next exception in an exception chain.
setNext(IlvGraphLayoutException)
:
Sets the next exception in an exception chain.
ilog.views.graphlayout.IlvGraphLayoutUtil
EnsureAppropriateLinks(IlvGraphModel, IlvLayoutProvider)
:
Ensures that the link and link connector classes used in a nested
IlvGrapher
hierarchy are appropriate for the layout algorithm that are delivered by the input provider.
ilog.views.graphlayout.IlvGraphModel
afterAttach(IlvGraphLayout)
:
Notifies the graph model that it has been attached to a layout.
afterDetach(IlvGraphLayout)
:
Notifies the graph model that it has been detached from a layout.
fireGraphModelEvent(Object, int, boolean)
:
Notifies the graph-model-event listeners that nodes or links have been added or removed, or that their geometry has changed (nodes or links were moved or reshaped).
getLayout(IlvLayoutProvider, Object)
:
Returns the layout instance for a subgraph of the nested graph encapsulated by this graph model.
getOriginatingLayout()
:
Returns the layout that created this model internally because an
IlvGrapher
got directly attached.
hasPinnedConnectionPoint(Object, boolean)
:
Returns true
if the connection point of
link
on the origin or destination node is "pinned", and false
otherwise.
isInternalGraphModelChecking()
:
Returns true
if the extended checking of internally created graph models is enabled.
setInternalGraphModelChecking(boolean)
:
Enables or disables the extended checking of internally created graph models, e.g., the grapher adapter that is internally created inside
IlvGraphLayout.attach(IlvGrapher)
.
performLayout(IlvLayoutProvider, IlvGraphLayout, boolean, boolean, boolean)
:
Applies layout instances recursively to this graph model.
ilog.views.graphlayout.IlvGrapherAdapter
getLayersCount()
:
Returns the number of manager layers to be taken into account during the layout.
getLayoutPropertyPrefix(IlvGraphLayout)
:
Returns the property name of the input layout, if it was most recently stored as named property, or null
, if the layout was never stored.
getPreferredLayoutPropertyPrefix()
:
Returns the property name of the preferred layout, or null
, if no preferred layout was stored.
setPreferredLayoutPropertyPrefix(String)
:
Sets the property name of the preferred layout.
hasPinnedConnectionPoint(Object, boolean)
:
Returns true
if the connection point of
link
on the origin or destination node is connected to a grapher pin, and false
otherwise.
isFullLayerNotification()
:
Returns true
if adding or removing a layer sends a separate event for each object contained in the layer.
setFullLayerNotification(boolean)
:
Sets whether adding or removing a layer fires just one or many graph model events.
isLayerAdded(IlvManagerLayer)
:
Returns true
if the manager layer is one of the layers to be taken into account during the layout.
ilog.views.graphlayout.IlvRelativeLinkConnector
connectLink
, the
connection points are now computed using the same default rules as those
used by IlvLinkImage
when no link connector is attached to a node.
In the previous releases, the center of the
bounding box of the node was returned in this case.
IlvRelativeLinkConnector(IlvLinkImage, boolean)
:
Creates an IlvRelativeLinkConnector
attached to the origin or destination of the link link
.
disconnectLink(IlvLinkImage, boolean)
:
Disconnects a link from the link connector.
disconnectAllLinks()
:
Disconnects all the links connected to the link connector.
ilog.views.graphlayout.bus.IlvBusLayout
getMaxNumberOfNodesPerLevel()
:
Returns the maximum number of nodes per level.
setMaxNumberOfNodesPerLevel(int)
:
Sets the maximum number of nodes per level.
isBusWidthAdjustingEnabled()
:
Returns true
if the adjustment of the bus width to the total width of the nodes is enabled.
setBusWidthAdjustingEnabled(boolean)
:
Enables the adjustment of the bus width to the total width of the nodes.
ilog.views.graphlayout.circular.IlvCircularLayout
getClusteringMode()
:
Returns the current clustering mode.
setClusteringMode(int)
:
Sets the clustering mode.
getMaxNumberOfPermutations()
:
Returns the maximal number of permutations tested for a cluster of more than 7 nodes.
setMaxNumberOfPermutations(int)
:
Sets the maximal number of permutations tested for a cluster of more than 7 nodes.
BY_CLUSTER_IDS
:
Clustering by cluster ids mode.
BY_SUBGRAPHS
:
Clustering by subgraphs mode.
ilog.views.graphlayout.grid.IlvGridLayout
getMaxNumberOfNodesPerRowOrColumn()
:
Returns the maximum number of nodes per row in
TILE_TO_ROWS
mode or the maximum number of nodes per column in
TILE_TO_COLUMNS
mode.
setMaxNumberOfNodesPerRowOrColumn(int)
:
Sets the maximum number of nodes per row in
TILE_TO_ROWS
mode or the maximum number of nodes per column in
TILE_TO_COLUMNS
mode.
ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout
IlvGrapherPin
objects handled by an IlvPinLinkConnector
are considered as fixed and, hence, are not moved.
This makes it much easier to specify fixed connection points using grapher
pins.
getDestinationPointMode(Object)
:
Returns the destination point mode of an individual link.
setDestinationPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the destination node.
getEastNumberOfPorts(Object)
:
Returns the number of relative ports on the east side of a node.
setEastNumberOfPorts(Object, int)
:
Sets the number of relative ports on the east side of a node.
getGlobalDestinationPointMode()
:
Returns the global mode for the connection points of the links on the destination nodes.
setGlobalDestinationPointMode(int)
:
Sets the global mode for the connection point of the links on the destination nodes.
getGlobalIncrementalNodeMovementMode()
:
Returns the node movement mode used during incremental layout.
setGlobalIncrementalNodeMovementMode(int)
:
Sets the node movement mode used during incremental layout.
getGlobalOriginPointMode()
:
Returns the global mode for the connection points of the links on the origin nodes.
setGlobalOriginPointMode(int)
:
Sets the global mode for the connection point of the links on the origin nodes.
getIncrementalNodeMovementMode(Object)
:
Returns the movement mode of an individual node used during incremental layout.
setIncrementalNodeMovementMode(Object, int)
:
Sets the movement mode of an individual node used during incremental layout.
isIntergraphConnectivityMode()
:
Returns true
if the intergraph link connectivity is considered for the partitioning of the layout into levels.
setIntergraphConnectivityMode(boolean)
:
Sets whether the intergraph link connectivity is considered for the partitioning of the layout into levels.
getMinForkSegmentLength()
:
Returns the minimal length of the start or end segment of links if a fork shape is used for these links.
setMinForkSegmentLength(float)
:
Sets the minimal length of the start or end segment of links if a fork shape is used for these links.
getNorthNumberOfPorts(Object)
:
Returns the number of relative ports on the north side of a node.
setNorthNumberOfPorts(Object, int)
:
Sets the number of relative ports on the north side of a node.
getNumberOfLinkCrossingSweeps()
:
Returns the number of layer sweeps to remove link crossings.
setNumberOfLinkCrossingSweeps(int)
:
Sets the number of layer sweeps to remove link crossings.
getOriginPointMode(Object)
:
Returns the origin point mode of an individual link.
setOriginPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the origin node.
getPreferredForkAxisLength()
:
Returns the preferred length of the axis of a fork shape.
setPreferredForkAxisLength(float)
:
Sets the preferred length of the axis of a fork shape.
getSouthNumberOfPorts(Object)
:
Returns the number of relative ports on the south side of a node.
setSouthNumberOfPorts(Object, int)
:
Sets the number of relative ports on the south side of a node.
getWestNumberOfPorts(Object)
:
Returns the number of relative ports on the west side of a node.
setWestNumberOfPorts(Object, int)
:
Sets the number of relative ports on the west side of a node.
isBacktrackCrossingReductionEnabled()
:
Returns true
if the backtrack mechanism of the link crossing reduction phase is enabled.
setBacktrackCrossingReductionEnabled(boolean)
:
Enables or disables the backtrack mechanism of the link crossing reduction phase.
isFromFork()
:
Returns true
if the fork shape is enabled for links that start at the same source point.
setFromFork(boolean)
:
Sets whether a fork shape is create for links that start at the same source point.
isLinkCrossingFineTuningEnabled()
:
Returns true
if the link crossing fine tuning phase is enabled.
setLinkCrossingFineTuningEnabled(boolean)
:
Enables or disables the link crossing fine tuning phase.
isLinkStraighteningEnabled()
:
Returns true
if the link straightening phase is enabled.
setLinkStraighteningEnabled(boolean)
:
Enables or disables the link straightening phase.
isMedianCrossingValueEnabled()
:
Returns true
if the median crossing value is used during crossing reduction.
setMedianCrossingValueEnabled(boolean)
:
Sets whether the median crossing value is used during crossing reduction.
isNeighborLinksAligned()
:
Returns true
if links between neighbored nodes of the same level are aligned so that they are parallel.
setNeighborLinksAligned(boolean)
:
Sets whether links between neighbored nodes of the same level are aligned so that they are strictly horizontal or vertical.
isToFork()
:
Returns true
if the fork shape is enabled for links that end at the same target point.
setToFork(boolean)
:
Sets whether a fork shape is create for links that end at the same target point.
FIXED_IN_X_MODE
:
Fixed movement mode for the x direction.
FIXED_IN_Y_MODE
:
Fixed movement mode for the y direction.
FIXED_MODE
:
Fixed movement mode.
FREE_MODE
:
Free movement mode.
MIXED_MODE
:
Mixed movement mode.
ilog.views.graphlayout.hierarchical.IlvNodeGroup
IlvNodeGroup()
:
Creates a new IlvNodeGroup
.
ilog.views.graphlayout.labellayout.IlvDefaultLabelingModel
createLabelingModel(Object)
:
Creates a new IlvDefaultLabelingModel
for a subgraph.
getLayersCount()
:
Returns the number of manager layers to be taken into account during the label layout.
isDefaultLabelClass(Object)
:
Returns true
if the class of the object is the default labeling class.
isDefaultObstacleClass(Object)
:
Returns true
if the class of the object is the default obstacle class.
isLayerAdded(IlvManagerLayer)
:
Returns true
if the manager layer is one of the layers to be taken into account during the layout.
isFullLayerNotification()
:
The method is now final.
contentsChanged
:
The class no longer implements the ManagerContentsChangedListener interface.
ilog.views.graphlayout.labellayout.IlvLabelingModel
createLabelingModel(Object)
:
Creates a new labeling model for a subgraph.
fireLabelingModelEvent(Object, int, boolean)
:
Notifies the labeling-model-event listeners that labels or obstacles have been added or removed, or that their geometry has changed (labels or obstacles were moved or resized).
ilog.views.graphlayout.labellayout.LabelingModelEvent
LABEL_ADDED
:
The bit mask of the type of the event when a label has been added.
LABEL_GEOMETRY_CHANGED
:
The bit mask of the type of the event when a label has been moved or resized.
LABEL_REMOVED
:
The bit mask of the type of the event when a label has been removed.
OBSTACLE_ADDED
:
The bit mask of the type of the event when an obstacle has been added.
OBSTACLE_GEOMETRY_CHANGED
:
The bit mask of the type of the event when an obstacle has been moved or resized.
OBSTACLE_REMOVED
:
The bit mask of the type of the event when an obstacle has been removed.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelLayout
getAutoLayoutHandler()
:
Returns the autolayout handler.
setAutoLayoutHandler(IlvAutoLayoutHandler)
:
Sets the autolayout handler.
getLabelMovementPolicy()
:
Returns the label movement policy used during layout.
setLabelMovementPolicy(IlvLabelMovementPolicy)
:
Allows you to install a label movement policy, that is, an object that allows or prohibits that a label is moved by the layout algorithm.
getMinImprovementPercentageToContinue()
:
Returns the minimal required percentage the layout needs to improve over a couple of rounds before the layout algorithm stops.
setMinImprovementPercentageToContinue(float)
:
Sets the minimal required percentage the layout needs to improve over a couple of rounds before the layout algorithm stops.
getNumberIterationsForMinImprovement()
:
Returns the number of iterations performed to reach the minimal required percentage of layout quality improvment.
setNumberIterationsForMinImprovement(int)
:
Sets the number of iterations performed to reach the minimal required percentage of layout quality improvment specified by
setMinImprovementPercentageToContinue
.
getObstacleOffsetInterface()
:
Returns the obstacle offset interface used during layout.
setObstacleOffsetInterface(IlvObstacleOffsetInterface)
:
Allows you to install an obstacle offset interface, that is, an object that allows to select specific mimimal offsets between certain label/obstacle pairs.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPointLabelDescriptor
IlvAnnealingPointLabelDescriptor()
:
Creates a new empty instance of a point label descriptor.
setHalfHeight(float)
:
Sets the half height of the path around the reference point.
setHalfWidth(float)
:
Sets the half width of the path around the reference point.
setMaxDistFromPath(float)
:
Sets the maximal distance from the location on the path.
setPreferredDirection(int)
:
Sets the preferred direction where the label is placed relative to the reference point or related obstacle.
setPreferredDistFromPath(float)
:
Sets the preferred distance from the location on the path.
setReferencePoint(IlvPoint)
:
Sets the reference point of the label.
setRelatedObstacle(Object)
:
Sets the obstacle that is related to the label.
setShape(int)
:
Sets the shape of the allowed area around the reference point or related obstacle.
getReferencePoint
:
It returns now a copy of the reference point.
final
:
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPolylineLabelDescriptor
IlvAnnealingPolylineLabelDescriptor()
:
Creates a new empty instance of a polyline label descriptor.
IlvAnnealingPolylineLabelDescriptor(Object, Object, IlvPoint[], float, float, float, float, float, float, int, int, int, float, float, float, float)
:
Creates a new instance of a polyline label descriptor.
getPreferredPercentageFromStart()
:
Returns the percentage relative to the length of the polyline that defines the preferred position for the label.
setPreferredPercentageFromStart(float)
:
Sets the percentage relative to the length of the polyline that defines the preferred position for the label.
setAllowedSide(int)
:
Sets the allowed side where the label is placed.
setAnchor(int)
:
Sets the anchor of the label.
setBottomOverlap(float)
:
Sets the amount the label can overlap the related obstacle or reference polyline at the bottom side of the label.
setLeftOverlap(float)
:
Sets the amount the label can overlap the related obstacle or reference polyline at the left side of the label.
setLineWidth(float)
:
Sets the line width of the polyline given by the reference points.
setMaxDistFromPath(float)
:
Sets the maximal distance from the location on the path.
setMaxPercentageFromStart(float)
:
Sets the percentage relative to the length of the polyline that defines the end point of the area of the polyline that should be used for the label.
setMinPercentageFromStart(float)
:
Sets the percentage relative to the length of the polyline that defines the start point of the area of the polyline that should be used for the label.
setPreferredDistFromPath(float)
:
Sets the preferred distance from the location on the path.
setPreferredSide(int)
:
Sets the preferred side where the label is placed.
setReferencePoints(IlvPoint[])
:
Sets the reference points that define the polyline where the label must be placed.
setRelatedObstacle(Object)
:
Sets the obstacle that is related to the label.
setRelatedObstacleSource(Object)
:
Sets the source node if the related obstacle is a link.
setRelatedObstacleTarget(Object)
:
Sets the target node if the related obstacle is a link.
setRightOverlap(float)
:
Sets the amount the label can overlap the related obstacle or reference polyline at the right side of the label.
setSideAssociation(int)
:
Returns the side association of the label.
setTopOverlap(float)
:
Sets the amount the label can overlap the related obstacle or reference polyline at the top side of the label.
getReferencePoints
:
It returns now a copy of the reference points.
final
:
getRelatedObstacle
getRelatedObstacleSource
getRelatedObstacleTarget
getReferencePoints
getLineWidth
getAnchor
getMinPercentageFromStart
getMaxPercentageFromStart
getTopOverlap
getBottomOverlap
getLeftOverlap
getRightOverlap
getPreferredSide
getAllowedSide
getSideAssociation
getPreferredDistFromPath
getMaxDistFromPath
ilog.views.graphlayout.link.IlvLinkLayout
IlvGrapherPin
objects handled by an IlvPinLinkConnector
are considered as fixed and, hence, are not moved.
This makes it much easier to specify fixed connection points using grapher
pins.
getDestinationPointMode(Object)
:
Returns the destination point mode of an individual link.
setDestinationPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the destination node.
getGlobalDestinationPointMode()
:
Returns the global mode for the connection points of the links on the destination nodes.
setGlobalDestinationPointMode(int)
:
Sets the global mode for the connection point of the links on the destination nodes.
getGlobalOriginPointMode()
:
Returns the global mode for the connection points of the links on the origin nodes.
setGlobalOriginPointMode(int)
:
Sets the global mode for the connection point of the links on the origin nodes.
getOriginPointMode(Object)
:
Returns the origin point mode of an individual link.
setOriginPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the origin node.
FIXED_MODE
:
Fixed connection point mode.
FREE_MODE
:
Free connection point mode.
MIXED_MODE
:
Mixed connection point mode.
ilog.views.graphlayout.link.longlink.IlvLongLinkLayout
IlvGrapherPin
objects handled by an IlvPinLinkConnector
are considered as fixed and, hence, are not moved.
This makes it much easier to specify fixed connection points using grapher
pins.
getDestinationPointMode(Object)
:
Returns the destination point mode of an individual link.
setDestinationPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the destination node.
getGlobalDestinationPointMode()
:
Returns the global mode for the connection points of the links on the destination nodes.
setGlobalDestinationPointMode(int)
:
Sets the global mode for the connection point of the links on the destination nodes.
getGlobalOriginPointMode()
:
Returns the global mode for the connection points of the links on the origin nodes.
setGlobalOriginPointMode(int)
:
Sets the global mode for the connection point of the links on the origin nodes.
getOriginPointMode(Object)
:
Returns the origin point mode of an individual link.
setOriginPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the origin node.
FIXED_MODE
:
Fixed connection point mode.
FREE_MODE
:
Free connection point mode.
MIXED_MODE
:
Mixed connection point mode.
ilog.views.graphlayout.link.shortlink.IlvShortLinkLayout
IlvGrapherPin
objects handled by an IlvPinLinkConnector
are considered as fixed and, hence, are not moved.
This makes it much easier to specify fixed connection points using grapher
pins.Node Side Filter
is now always strictly respected,
for any combination of allowed sides, while previously it was considered as
a preference. If necessary, the algorithm now creates orthogonal links
with up to four bends, instead of three previously.
getDestinationPointMode(Object)
:
Returns the destination point mode of an individual link.
setDestinationPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the destination node.
getGlobalDestinationPointMode()
:
Returns the global mode for the connection points of the links on the destination nodes.
setGlobalDestinationPointMode(int)
:
Sets the global mode for the connection point of the links on the destination nodes.
getGlobalOriginPointMode()
:
Returns the global mode for the connection points of the links on the origin nodes.
setGlobalOriginPointMode(int)
:
Sets the global mode for the connection point of the links on the origin nodes.
getOriginPointMode(Object)
:
Returns the origin point mode of an individual link.
setOriginPointMode(Object, int)
:
Sets the mode for the connection point on an individual link on the origin node.
getBypassDistance()
:
The default value returned by the method is now a negative value.
If the bypass distance is strictly negative, the value of the
minFinalSegmentLength
parameter (see
getMinFinalSegmentLength()
)
is used as the bypass distance. This allows the automatic adjustment of the
bypass distance according to the current value of the
minFinalSegmentLength
parameter. This behavior is
suitable in most cases. However, you can specify a non-negative
value in order to override the default behavior.
FIXED_MODE
:
Fixed connection point mode.
FREE_MODE
:
Free connection point mode.
MIXED_MODE
:
Mixed connection point mode.
ilog.views.graphlayout.multiple.IlvMultipleLayout
isFirstGraphLayoutActive()
:
Returns whether the first graph layout is active.
setFirstGraphLayoutActive(boolean)
:
Sets whether the first graph layout is active.
isLabelLayoutActive()
:
Returns whether the label layout is active.
setLabelLayoutActive(boolean)
:
Sets whether the label layout is active.
isSecondGraphLayoutActive()
:
Returns whether the second graph layout is active.
setSecondGraphLayoutActive(boolean)
:
Sets whether the second graph layout is active.
IlvRecursiveLayout
that simplifies the recursive layout of nested graphers.
Link Bundle Applet
Link Crossing Applet