Package | Description |
---|---|
ilog.cpl.graph.graphlayout |
Contains the common implementation for the node and link layout
support for both the
IlpNetwork and IlpEquipment
components. |
ilog.tgo.graphic |
Provides all the classes for handling the graphical representations of the telecom objects.
|
ilog.tgo.graphic.graphlayout |
Contains graph layout algorithms that extend those of package ilog.views.graphlayout.
|
ilog.views.graphlayout |
A high-level, generic framework for the graph layout services provided
by JViews, which allows you to easily obtain readable representations
of graphs and networks.
|
ilog.views.graphlayout.hierarchical |
The Hierarchical Layout algorithm arranges the nodes of the graph
in horizontal or vertical levels, so that the majority of the
links point in the same direction (top-down, left-to-right, and so on).
|
ilog.views.graphlayout.link |
The Link Layout algorithm reshapes the links of a graph without
moving the nodes.
|
ilog.views.graphlayout.link.longlink |
The Long Link Layout algorithm reshapes the links of a graph without
moving the nodes.
|
ilog.views.graphlayout.multiple |
The Multiple Layout class is not really a layout algorithm but rather a
facility to compose multiple layout algorithms and treat them as one algorithm
object.
|
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.topologicalmesh |
The Topological Mesh Layout (TML) algorithm can be used to lay out
cyclic graphs, both planar and non-planar.
|
ilog.views.graphlayout.tree |
The Tree Layout arranges the nodes of a tree horizontally, vertically or
radially, starting from the root of the tree.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphModel |
IlpGraphLayoutSupport.createGraphModel()
Creates the graph model used for the manager content.
|
IlvGraphModel |
IlpDefaultGraphLayoutSupport.createGraphModel()
Creates the graph model used for the manager content.
|
Modifier and Type | Class and Description |
---|---|
class |
IltGrapherAdapter
An
IltGrapherAdapter is the bridge between a graph layout and an
IltCompositeGrapher . |
Modifier and Type | Method and Description |
---|---|
protected IlvGraphModel |
IltGrapherAdapter.createGraphModel(Object subgraph) |
IlvGraphModel |
IltCompositeGrapher.getGraphModel()
Returns the graph model used for the manager content.
|
IlvGraphModel |
IltCompositeGrapher.getRootModel() |
IlvGraphModel |
IltCompositeGrapher.initializeLayout(IlvGraphModel model)
Initializes the layout with the given model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IltDefaultNodeSideFilter.accept(IlvGraphModel graphModel,
Object link,
boolean origin,
Object node,
IltNodeSide side) |
boolean |
IltDefaultNodeSideFilter.accept(IlvGraphModel graphModel,
Object link,
boolean origin,
Object node,
int side) |
IltNodeSide[] |
IltDefaultNodeSideFilter.acceptedSides(IlvGraphModel model,
Object link,
boolean origin,
Object node) |
IlvGraphModel |
IltCompositeGrapher.initializeLayout(IlvGraphModel model)
Initializes the layout with the given model.
|
protected void |
IltCompositeGrapher.replaceChildGraphModel(IlvGraphModel toplevelmodel,
IltCompositeGrapher parent) |
void |
IltCompositeGrapher.replaceGraphModel(IlvGraphModel toplevelmodel)
Replaces the layout structures according to the new graph model.
|
void |
IltCompositeGrapher.updateSubnetworkLayout(IlvGraphModel childLayoutModel)
This method is called when the composite grapher is added to the
parent hierarchy to adjust the layout information taking the
hierarchy into account.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IltNodeSideFilter.accept(IlvGraphModel model,
Object link,
boolean origin,
Object node,
IltNodeSide side)
Deprecated.
Allows or prohibits the connection of
link on a given
side of the node . |
IltNodeSide[] |
IltNodeSideFilter.acceptedSides(IlvGraphModel model,
Object link,
boolean origin,
Object node)
Deprecated.
Returns the node sides where a link is allowed to connect to
one of its end nodes.
|
void |
IltLinkLayout.attach(IlvGraphModel graphModel)
Allows you to specify the graph model you want to lay out.
|
IlvRect |
IltLocalLinkLayout.borderedBoundingBox(IlvGraphModel model,
Object obj) |
protected IlpPolyline |
IltLocalLinkLayout.chooseShape(IlvGraphModel model,
Object link)
Chooses and returns the desired shape for a link.
|
void |
IltShortLinkLayout.cleanLink(IlvGraphModel graphModel,
Object link)
Cleans a link.
|
void |
IltShortLinkLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
protected void |
IltLocalLinkLayout.commitConnection(IlvGraphModel model,
Object link,
Object node,
ilog.tgo.graphic.graphlayout.IltLocalLinkLayout.NodeSide side)
Registers that a given link to a given node is to be connected at a
given side of this node.
|
protected void |
IltLocalLinkLayout.connectLink(IlvGraphModel model,
Object link)
Connects a link to its ends, by calling commitConnection() once for
each of the two ends.
|
protected void |
IltLocalLinkLayout.connectSelfLink(IlvGraphModel model,
Object link) |
protected ilog.tgo.graphic.graphlayout.IltLocalLinkLayout.Socket |
IltLocalLinkLayout.getConnectionSocket(IlvGraphModel model,
Object link,
Object node)
Once commitConnection has been called with a link and a node as arguments,
returns the socket where the link starts.
|
protected void |
IltStraightLinkLayout.layoutOneLink(IlvGraphModel graphModel,
Object link,
IlvRect frombbox,
IlvRect tobbox,
int connectorStyle,
boolean redraw) |
protected void |
IltLocalLinkLayout.placeLinks(IlvGraphModel model,
Object node)
Adjusts all connections ending on a given node.
|
protected void |
IltLocalLinkLayout.placeLinks(IlvGraphModel model,
Object node,
ilog.tgo.graphic.graphlayout.IltLocalLinkLayout.NodeSide side)
Adjusts all connections ending on a given node, at a given side.
|
void |
IltLinkLayout.setGraphModel(IlvGraphModel graphModel)
Sets the graph model to be laid out.
|
protected void |
IltLocalLinkLayout.sortLinks(IlvGraphModel model,
Object node)
Sorts all connections ending on a given node.
|
protected Vector |
IltLocalLinkLayout.sortLinks(IlvGraphModel model,
Object node,
ilog.tgo.graphic.graphlayout.IltLocalLinkLayout.NodeSide side)
Sorts the links ending on a given node, at a given side, so as
to avoid unnecessary crossings.
|
Modifier and Type | Class and Description |
---|---|
class |
IlvGrapherAdapter
An
IlvGrapherAdapter encapsulates an IlvGrapher
and provides a bridge between the API of the IlvGrapher
and the API of the IlvGraphModel . |
class |
IlvRotatedGraphModel
An graph model that rotates all coordinates by a specific angle.
|
Modifier and Type | Method and Description |
---|---|
protected IlvGraphModel |
IlvRotatedGraphModel.createGraphModel(Object subgraph)
Creates a new graph model for a subgraph.
|
protected IlvGraphModel |
IlvGrapherAdapter.createGraphModel(Object subgraph)
Creates a new
IlvGrapherAdapter for a subgraph. |
protected abstract IlvGraphModel |
IlvGraphModel.createGraphModel(Object subgraph)
Creates a new graph model for a subgraph.
|
static IlvGraphModel |
IlvGraphLayoutUtil.GetConnectedComponents(IlvGraphModel graphModel)
Returns a graph model.
|
IlvGraphModel |
IlvInappropriateGraphException.getGraphModel()
Returns the graph model for which the exception was raised.
|
IlvGraphModel |
IlvGraphLayout.getGraphModel()
Returns the graph model to lay out if a graph model is attached.
|
IlvGraphModel |
GraphModelEvent.getGraphModel()
Returns the graph model source of the event.
|
IlvGraphModel |
IlvRotatedGraphModel.getGraphModel(Object subgraph)
Returns a graph model instance for a subgraph of a nested graph.
|
IlvGraphModel |
IlvGraphModel.getGraphModel(Object subgraph)
Returns a graph model instance for a subgraph of a nested graph.
|
IlvGraphModel |
IlvRotatedGraphModel.getOriginalGraphModel()
Returns the graph model encapsulated by this rotated graph model.
|
IlvGraphModel |
IlvRotatedGraphModel.getParentModel()
Returns the graph model that encapsulates the parent graph of the
graph encapsulated by this graph model, or
null . |
IlvGraphModel |
IlvGrapherAdapter.getParentModel()
Returns the graph model that encapsulates the parent graph of the
graph encapsulated by this graph model, or
null . |
abstract IlvGraphModel |
IlvGraphModel.getParentModel()
Returns the graph model that encapsulates the parent graph of the
graph encapsulated by this graph model, or
null . |
IlvGraphModel |
IlvGraphModel.getRootModel()
Returns the root graph model of this graph model, if any, or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
boolean |
IlvNodeSideFilter.accept(IlvGraphModel graphModel,
Object link,
boolean origin,
Object node,
int side)
Allows or prohibits the connection of
link on a given
side of the node . |
protected void |
IlvGraphLayout.afterLayoutOfSubgraph(IlvGraphModel subgraph)
Performs postprocessing operations after the layout of each subgraph
or connected component.
|
void |
IlvGraphLayout.attach(IlvGraphModel graphModel)
Sets the graph model to be laid out.
|
protected void |
IlvGraphLayout.beforeLayoutOfSubgraph(IlvGraphModel subgraph)
Performs preprocessing operations before the layout of each subgraph
or connected component.
|
void |
IlvGraphLayout.cleanGraphModel(IlvGraphModel graphModel)
Cleans a graph model.
|
void |
IlvGraphLayout.cleanLink(IlvGraphModel graphModel,
Object link)
Cleans a link.
|
void |
IlvGraphLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
static int |
IlvGraphLayoutUtil.ComputeNumberOfLinkBends(IlvGraphModel graphModel)
Returns the number of bends in all links in the graph model.
|
static int |
IlvGraphLayoutUtil.ComputeNumberOfLinkCrossings(IlvGraphModel graphModel)
Returns the number of crossings of two links in the graph model.
|
static int |
IlvGraphLayoutUtil.ComputeNumberOfLinkOverlaps(IlvGraphModel graphModel)
Returns the number of overlaps of two links in the graph model.
|
static int |
IlvGraphLayoutUtil.ComputeNumberOfNodeLinkOverlaps(IlvGraphModel graphModel)
Returns the number of overlaps between a node and a link in the graph
model.
|
static int |
IlvGraphLayoutUtil.ComputeNumberOfNodeOverlaps(IlvGraphModel graphModel)
Returns the number of overlaps between nodes in the graph model.
|
protected IlvGraphLayout |
IlvDefaultLayoutProvider.createGraphLayout(IlvGraphModel graphModel)
Returns a layout instance to be used to lay out a graph model for
which no layout has been specified using the method
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel, IlvGraphLayout) . |
void |
IlvDefaultLayoutProvider.detachLayouts(IlvGraphModel graphModel,
boolean traverse)
Detaches the layout instances from
graphModel and cleans
the preferred layout settings. |
static void |
IlvGraphLayoutUtil.EnsureAppropriateLinks(IlvGraphModel graphModel,
IlvLayoutProvider layoutProvider)
Ensures that the link and link connector classes used in a nested
IlvGrapher hierarchy are appropriate for the layout
algorithms that are delivered by the input provider. |
static void |
IlvGraphLayoutUtil.EnsureAppropriateLinks(IlvGraphModel graphModel,
IlvLayoutProvider layoutProvider,
boolean redraw)
Ensures that the link and link connector classes used in a nested
IlvGrapher hierarchy are appropriate for the layout
algorithms that are delivered by the input provider. |
IlvRect |
IlvNodeBoxInterface.getBox(IlvGraphModel graphModel,
Object node)
Returns the rectangle associated to
node . |
IlvRect |
IlvLinkConnectionBoxInterface.getBox(IlvGraphModel graphModel,
Object node)
Returns the rectangle on which the connection points of the links
connected to
node can be placed. |
static IlvGraphModel |
IlvGraphLayoutUtil.GetConnectedComponents(IlvGraphModel graphModel)
Returns a graph model.
|
IlvPoint |
IlvLinkClipInterface.getConnectionPoint(IlvGraphModel graphModel,
Object node,
IlvRect currentNodeBox,
Object link,
IlvPoint proposedConnectionPoint,
IlvPoint auxControlPoint,
boolean origin)
Returns the clipped connection point of a link that starts at the
proposed connection point of the node and goes through the auxiliary
control point.
|
IlvGraphLayout |
IlvLayoutProvider.getGraphLayout(IlvGraphModel graphModel)
Returns the layout instance to be used for laying out
graphModel . |
IlvGraphLayout |
IlvDefaultLayoutProvider.getGraphLayout(IlvGraphModel graphModel)
Returns the layout instance to be used to lay out
graphModel . |
IlvGraphLayout |
IlvDefaultLayoutProvider.getPreferredLayout(IlvGraphModel graphModel)
Returns the layout instance that has been specified using the method
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel, IlvGraphLayout) for
laying out graphModel , or null if none has
been specified or a null layout has been specified (that
is, no layout should be applied to this graph model). |
Object |
IlvGraphLayout.getProperty(IlvGraphModel graphModel,
Object nodeOrLink,
String key)
Returns the value of a property of the layout instance.
|
double |
IlvLinkConnectionBoxInterface.getTangentialOffset(IlvGraphModel graphModel,
Object node,
int nodeSide)
Returns the tangential offset for the connection points of a link on
the specified side of the specified node.
|
IlvTransformer |
IlvRotatedGraphModel.getTransformer(IlvGraphModel subgraphModel)
Returns the transformer that allows you to convert the coordinate
system of the graph model of a subgraph to the coordinate system of
this graph model.
|
IlvTransformer |
IlvGrapherAdapter.getTransformer(IlvGraphModel subgraphModel)
Returns the transformer that allows you to convert the coordinate
system of the graph model of a subgraph to the coordinate system of
this graph model.
|
IlvTransformer |
IlvGraphModel.getTransformer(IlvGraphModel subgraphModel)
Returns the transformer that allows you to convert the coordinate
system of the graph model of a subgraph to the coordinate system of
this graph model.
|
static boolean |
IlvGraphLayoutUtil.IsConnected(IlvGraphModel graphModel)
Checks whether a graph model is connected or not.
|
boolean |
IlvGraphLayout.isLocalRecursiveLayoutNeeded(IlvLayoutProvider layoutProvider,
IlvGraphLayout recLayout,
IlvGraphModel rootModel,
boolean traverse)
Checks whether layout is needed when layout is performed recursively
on a hierarchy of nested subgraphs.
|
static boolean |
IlvGraphLayoutUtil.IsTree(IlvGraphModel graphModel,
Object startNode)
Returns
true if the connected component of
graphModel that contains startNode is a
pure tree (with no cycles). |
static int |
IlvGraphLayout.PerformLayout(IlvGraphModel graphModel,
IlvLayoutProvider layoutProvider,
boolean force,
boolean redraw,
boolean traverse)
Applies layout instances recursively to the specified graph model.
|
void |
IlvGraphLayout.setGraphModel(IlvGraphModel graphModel)
Sets the graph model to be laid out.
|
void |
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel graphModel,
IlvGraphLayout layout)
Sets the layout instances to be used for laying out
graphModel . |
void |
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel graphModel,
IlvGraphLayout layout,
boolean detachPrevious)
Deprecated.
Beginning with JViews 5.5, use the method
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel, IlvGraphLayout, boolean,
boolean) instead. |
void |
IlvDefaultLayoutProvider.setPreferredLayout(IlvGraphModel graphModel,
IlvGraphLayout layout,
boolean detachPrevious,
boolean traverse)
Sets the layout instances to be used for laying out
graphModel . |
Object |
IlvGraphLayout.setProperty(IlvGraphModel graphModel,
Object nodeOrLink,
String key,
Object value)
Sets the value of a property for a node or a link, using a given graph
model.
|
protected void |
IlvDefaultLayoutProvider.storePreferredLayout(IlvGraphModel graphModel,
IlvGraphLayout layout)
Stores the layout for the graph model.
|
Constructor and Description |
---|
GraphModelEvent(IlvGraphModel graphModel)
Creates the event.
|
IlvInappropriateGraphException(IlvGraphModel graphModel,
IlvGraphLayout layout)
Creates a new
IlvInappropriateGraphException with no
specified detail message. |
IlvInappropriateGraphException(IlvGraphModel graphModel,
IlvGraphLayout layout,
String message)
Creates a new
IlvInappropriateGraphException with a
specified detail message. |
IlvInappropriateLinkException(IlvGraphModel graphModel,
IlvGraphLayout layout,
int type)
Creates a new
IlvInappropriateLinkException . |
IlvInappropriateLinkException(IlvGraphModel graphModel,
IlvGraphLayout layout,
String message,
int type)
Creates a new
IlvInappropriateLinkException . |
IlvRotatedGraphModel(IlvGraphModel model,
boolean owned,
IlvPoint center,
double angle)
The constructor.
|
IlvRotatedGraphModel(IlvGraphModel model,
boolean owned,
IlvTransformer t)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvHierarchicalLayout.cleanLink(IlvGraphModel graphModel,
Object link)
Cleans a link.
|
void |
IlvHierarchicalLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
boolean |
IlvHierarchicalLayout.isLocalRecursiveLayoutNeeded(IlvLayoutProvider layoutProvider,
IlvGraphLayout recLayout,
IlvGraphModel rootModel,
boolean traverse)
Checks whether layout is needed when layout is performed recursively
on a hierarchy of nested subgraphs.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvLinkLayout.attach(IlvGraphModel graphModel)
Allows you to specify the graph model you want to lay out.
|
void |
IlvLinkLayout.setGraphModel(IlvGraphModel graphModel)
Sets the graph model to be laid out.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvLongLinkLayout.cleanLink(IlvGraphModel graphModel,
Object link)
Cleans a link.
|
void |
IlvLongLinkLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
int |
IlvTerminationPointFilter.getPenalty(IlvGraphModel graphModel,
Object link,
boolean origin,
Object node,
IlvPoint point,
int side,
int proposedPenalty)
Allows you to assign a penalty to the termination point of
link at a given start point which is on the given side
of the node node . |
Modifier and Type | Method and Description |
---|---|
void |
IlvMultipleLayout.attach(IlvGraphModel graphModel)
Allows you to specify the graph model you want to lay out.
|
boolean |
IlvMultipleLayout.isLocalRecursiveLayoutNeeded(IlvLayoutProvider layoutProvider,
IlvGraphLayout recLayout,
IlvGraphModel rootModel,
boolean traverse)
Checks whether layout is needed when layout is performed recursively
on a hierarchy of nested subgraphs.
|
void |
IlvMultipleLayout.setGraphModel(IlvGraphModel graphModel)
Sets the graph model to be laid out.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvRecursiveMultipleLayout.attach(IlvGraphModel graphModel)
Allows you to specify the top-level graph model of the nested graph
you want to lay out.
|
void |
IlvRecursiveLayout.attach(IlvGraphModel graphModel)
Allows you to specify the top-level graph model of the nested graph
you want to lay out.
|
IlvGraphLayout |
IlvRecursiveLayoutProvider.getGraphLayout(IlvGraphModel graphModel)
Returns the layout instance to be used to lay out
graphModel . |
Modifier and Type | Method and Description |
---|---|
protected void |
IlvTopologicalMeshLayout.beforeLayoutOfSubgraph(IlvGraphModel connectedComponent)
Performs preprocessing operations before the layout of each connected
component.
|
void |
IlvTopologicalMeshLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvTreeLayout.cleanLink(IlvGraphModel graphModel,
Object link)
Cleans a link.
|
void |
IlvTreeLayout.cleanNode(IlvGraphModel graphModel,
Object node)
Cleans a node.
|
boolean |
IlvTreeLayout.isLocalRecursiveLayoutNeeded(IlvLayoutProvider layoutProvider,
IlvGraphLayout recLayout,
IlvGraphModel rootModel,
boolean traverse)
Checks whether layout is needed when layout is performed recursively
on a hierarchy of nested subgraphs.
|
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.