Returns the bounding box of this graph layout This is the smallest rectangle containing the entire layout.

Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual Rectangle GetBoundingBox()
Visual Basic
Public Overridable Function GetBoundingBox As Rectangle

Implements

IGraphLayout..::..GetBoundingBox()()()()

Remarks

Returns the bounding box of this graph layout This is the smallest rectangle containing the entire layout. If the layout does not contain any node layout information (and therefore no edge layout information either), the bounding box will have negative width and/or height.

See Also