# Compact Mesh

<div align="left"><figure><img src="https://2202237093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FililYtTOKJkeJpzbCa02%2Fuploads%2FNw1ONLCRNmKF0l92UC8F%2Fimage.png?alt=media&#x26;token=8f3f0fd5-b9ef-4241-bcb8-79bf1f9596ce" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that compacts mesh data by removing unused elements.
 * 
 * Cleans up vertex, edge, and triangle indices to create
 * a contiguous mesh structure.
 * 
 * Usage:
 * 1. Connect mesh input
 * 2. Output is the compacted mesh
 */
```
