Link Search Menu Expand Document

Relax

PCGEx | Cluster : Relax

Relax points positions of a graph.

The Relax node smooths a graph’s point positions by applying iterative relaxation algorithms, allowing control over the number of iterations, type of relaxation, and influence settings for fine-tuning results.


Vtx
Endpoints of the input Edges
Edges
Edges associated with the input Vtxs
Vtx
Endpoints of the output Edges
Edges
Edges associated with the output Vtxs

Table of content


The relax point node smoothes cluster’ topology by iteratively applying a given relaxation algorithm.

details/edges-relax/edges-relax-lead.png

Properties


Property Description
Settings
Iterations The number of time to additively apply the relaxing algorithm.
Each iteration uses the previous’ iteration results.
Relaxing This property lets you select which kind of relaxing you want to apply to the input clusters.
Specifics of the instanced module will be available under its inner Settings section.
See .
Influence
Influence Interpolate between the original position and the final, relaxed position.
- 1.0 means fully relaxed
- 0.0 means the original position is preserved.
Local Influence If enabled, will use a per-point attribute value as Influence.
Progressive Influence Switchs betweeen factoring the influence after each per-iteration (progressive) or once all iterations have been processed.
This yields vastly different results, so don’t hesite to try it.

Influence Settings


Property Description
Settings  
Influence Interpolate between the original position and the final, relaxed position.
- 1.0 means fully relaxed
- 0.0 means the original position is preserved.
Local Influence When enabled, this allows you to use a per-point influence value.
This is especially useful for “pinning” specific points.
Progressive Influence When enabled, Influence is applied between each iteration, instead of once after all iterations have been processed.
This is more expensive but yield more good looking results, especially with non-uniform local influence.

Note that while the default Influence is clamped, the local influence is purposefully not clamped, allowing for undershooting or overshooting the influence’ interpolation between the relaxed and original position. Use carefully.


Relaxing modules


☍ Laplacian

Laplacian / Poisson relaxation

The Laplacian relaxation …

☍ Force Directed

Force-directed relaxation

The Force-directed relaxation …


Cluster Output Settings

See Working with Clusters - Cluster Output Settings.