This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphView.CalculateRectToFitAll

Declaration

public Rect CalculateRectToFitAll(UIElements.VisualElement container);

Parameters

container This should be the view container.

Returns

Rect The calculated rectangle.

Description

Calculate the rectangle size and position to fit all elements in graph.