> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Relax Graph

Perform a relaxation on the graph. This block will move the vertices with the objective of creating uniform beam lengths.

### Inputs

| Name           | Type                                                                 | Description                                                                                                                                                                                                                          |
| -------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Graph          | [Graph](../../../../block-documentation/types/graph)                 | The Graph to relax.                                                                                                                                                                                                                  |
| Surface        | [Implicit Body](../../../../block-documentation/types/implicit-body) | The surface which to constrain the graph vertices. Vertices starting within the domain Tolerance will be constrained to the surface of this body.                                                                                    |
| Max iterations | [Integer](../../../../block-documentation/types/integer)             | The maximum number of iterations during the relaxation process.                                                                                                                                                                      |
| Min angle      | [Scalar](../../../../block-documentation/types/scalar)               | The minimum angle between beams. The relaxation process will attempt to prevent any beam angles below this threshold. The input value should be between 0 and 180.0 degrees.                                                         |
| Volume         | [Implicit Body](../../../../block-documentation/types/implicit-body) | A secondary domain in the volume of which to constrain the graph vertices. This is typically a loop around the trimmed ends of the graph. Vertices will be able to move within this domain, but not away from it.                    |
| Tolerance      | [Scalar](../../../../block-documentation/types/scalar)               | The maximum deviation outside the Domain. If no value is provided, the block will calculate a tolerance based on the graph. The input value should be always positive.                                                               |
| Move limit     | [Scalar](../../../../block-documentation/types/scalar)               | The maximum amount of movement per graph vertex between iterations. A smaller value may increase stability at the cost of a reduced convergence rate. If left unspecified, the block will calculate a move limit based on the graph. |
| Passive region | [Implicit Body](../../../../block-documentation/types/implicit-body) | Region in which all vertices are unmodified. All vertices within this region will have a displacement of zero.                                                                                                                       |

### Outputs

| Type                                                 |
| ---------------------------------------------------- |
| [Graph](../../../../block-documentation/types/graph) |
