|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphLayout
The GraphLayout
defines the layout information of a graph.
It provides layout information for nodes, edges and their associated labels as well as the graph as a whole.
Method Summary | |
---|---|
java.awt.Rectangle |
getBoundingBox()
Returns the bounding box of this GraphLayout . |
EdgeLabelLayout[] |
getEdgeLabelLayout(java.lang.Object edge)
Returns the layout information for all edge labels belonging to the given edge. |
EdgeLayout |
getEdgeLayout(java.lang.Object edge)
Returns the layout information associated with the given edge. |
NodeLabelLayout[] |
getNodeLabelLayout(java.lang.Object node)
Returns the layout information for all node labels belonging to the given node. |
NodeLayout |
getNodeLayout(java.lang.Object node)
Returns the layout information associated with the given node. |
Method Detail |
---|
NodeLayout getNodeLayout(java.lang.Object node)
This information contains the location and size of the node.
node
- the node
EdgeLayout getEdgeLayout(java.lang.Object edge)
This information contains the coordinates of the source and target points as well as the coordinates of all control points.
edge
- the edge
NodeLabelLayout[] getNodeLabelLayout(java.lang.Object node)
This information contains the location and size of the labels.
node
- the node that owns the labels
EdgeLabelLayout[] getEdgeLabelLayout(java.lang.Object edge)
This information contains the location and size of the labels.
edge
- the edge that owns the labels
java.awt.Rectangle getBoundingBox()
GraphLayout
.
This box is the smallest rectangular area that contains all layout elements in this GraphLayout
.
GraphLayout
, the resulting rectangle will have negative width and
height.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |