Package | com.yworks.yfiles.layout |
Interface | public interface GraphLayout |
Implementors | DefaultGraphLayout, LayoutGraph, LayoutGraphAdapter |
Method | Defined By | ||
---|---|---|---|
Returns the bounding box of the graph layout. | GraphLayout | ||
getEdgeLabelLayout(edge:Object):Vector.<Object>
Returns an array of layout information for all edge labels belonging to the given edge. | GraphLayout | ||
getEdgeLayout(edge:Object):EdgeLayout
Returns the layout information for a given edge. | GraphLayout | ||
getNodeLabelLayout(node:Object):Vector.<Object>
Returns an array of layout information for all node labels belonging to the given node. | GraphLayout | ||
getNodeLayout(node:Object):NodeLayout
Returns the layout information for a given node. | GraphLayout |
getBoundingBox | () | method |
public function getBoundingBox():Rectangle
Returns the bounding box of the graph layout. That is the smallest rectangular area that contains all defined layout elements. If there are no elements in this graph layout, the resulting rectangle will have negative width and height.
ReturnsRectangle |
getEdgeLabelLayout | () | method |
public function getEdgeLabelLayout(edge:Object):Vector.<Object>
Returns an array of layout information for all edge labels belonging to the given edge.
Parameters
edge:Object |
Vector.<Object> |
getEdgeLayout | () | method |
public function getEdgeLayout(edge:Object):EdgeLayout
Returns the layout information for a given edge.
Parameters
edge:Object |
EdgeLayout |
getNodeLabelLayout | () | method |
public function getNodeLabelLayout(node:Object):Vector.<Object>
Returns an array of layout information for all node labels belonging to the given node.
Parameters
node:Object |
Vector.<Object> |
getNodeLayout | () | method |
public function getNodeLayout(node:Object):NodeLayout
Returns the layout information for a given node.
Parameters
node:Object |
NodeLayout |