Related
Table of content
The Cluster Refine node lets you refine connections inside individual clusters, a.k.a Edge pruning.
Refining only removes edges and does not create new ones.
The filters determine which edge can be pruned. Any filter that doesn’t pass will ensure the edge is preserved.
Properties
Property | Description |
---|---|
Settings | |
Refinement | This property lets you select which kind of refinement you want to apply to the input clusters. Specifics of the instanced module will be available under its inner Settings section, if any. |
Output Only Edges As Points | If enabled, this node will output edges as raw points, without the usually associated cluster. This can be significantly faster and less greedy depending on your need for the output edges. |
Sanitization
The sanitization property lets you enforce some general conditions within the graph. Note that is applied after the refinement.
Note that this is not mutually exclusive with filters: sanitization happens has a post-process after the “raw” refinement is completed.
Sanitization | Description |
---|---|
None | No sanitization. |
Shortest | If a node has no edge left, restore the shortest one. |
Longest | If a node has no edge left, restore the longest one. |
Filters | Use per-point filters to ensure edge preservation. |
Note that the sanitization options offer no guarantee that the initial interconnectivity will be preserved!
Available Refining modules
Cluster Output Settings
Property | Description |
---|---|
Edge Position | If enabled, edge point’ position will be the result of that value used as a lerp between its start and end Vtx point. |
Pruning | |
Min Vtx Count | If enabled, only ouputs clusters that have more ( > ) Vtx than the specified number. |
Max Vtx Count | If enabled, only ouputs clusters that have less ( < ) Vtx than the specified number. |
Min Edge Count | If enabled, only ouputs clusters that have more ( > ) Edge than the specified number. |
Max Edge Count | If enabled, only ouputs clusters that have less ( < ) Edge than the specified number. |
Misc | |
Refresh Edge Seed | If enabled, Edge points gets a fresh seed. |
Build and Cache Cluster | If enabled, pre-build and cache cluster along with the point data. This has a slight memory cost associated to it, but can offer tremendous performance improvement. If disabled, cluster processors that comes down the line have to rebuild clusters from point data, which is very costly as they are also tested for errors and possible disconnections in the process. |
Expand Clusters | If enabled, also build & cache another layer of cache data. This can have a significant memory cost, as well as a minimal performance overhead, but can greatly improve certain specific operations down the line. |
Available Filters
🝖 Modulo Comparison
The Modulo Comparison Filter compares the module value of two attributes against a third operand
🝖 Mean Value
The Mean Value Filter compares per-point values of an attribute against the mean statistical value of that same attribute.
🝖 Self Compare (Numeric)
The Numeric Comparison Filter compares the arithmetic value of two attributes