# contour tree arc is straight line and not smooth

**URL:** https://discourse.paraview.org/t/contour-tree-arc-is-straight-line-and-not-smooth/10340
**Category:** ParaView Support
**Created:** [September 16, 2022, 12:59pm UTC](https://discourse.paraview.org/t/contour-tree-arc-is-straight-line-and-not-smooth/10340 "2022-09-16T12:59:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pravin\_Poudel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pravin_poudel/32/9830_2.png) [@Pravin\_Poudel](https://discourse.paraview.org/u/Pravin_Poudel)
#### Post date: [September 16, 2022, 12:59pm UTC](https://discourse.paraview.org/t/contour-tree-arc-is-straight-line-and-not-smooth/10340/1 "2022-09-16T12:59:30Z")

</div>

This is the kind of contour line that i expect to get from the contour tree generation filer (FTM)

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/85691c4716a29efdb1541090fcfe13e11f7c4528.jpeg)

but sadly what i am getting is like this which is not smooth !!!

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/67c3b64f0c67b59634439a003a7576bf6994f0de.jpeg)

In the video there is input field to input arc smoothing and arc sampling parameter but in latest version, it is arc sampling only !!

Is there anyway i can make this smooth?

Thank you

---

<div class="post-metadata">

### Author: ![Pravin\_Poudel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/pravin_poudel/32/9830_2.png) [@Pravin\_Poudel](https://discourse.paraview.org/u/Pravin_Poudel)
#### Post date: [September 16, 2022, 2:45pm UTC](https://discourse.paraview.org/t/contour-tree-arc-is-straight-line-and-not-smooth/10340/2 "2022-09-16T14:45:41Z")

</div>

@Charles_Gueunet @julien-tierny

---

<div class="post-metadata">

### Author: ![Charles\_Gueunet](https://discourse.paraview.org/user_avatar/discourse.paraview.org/charles_gueunet/32/40_2.png) [@Charles\_Gueunet](https://discourse.paraview.org/u/Charles_Gueunet)
#### Post date: [September 16, 2022, 2:50pm UTC](https://discourse.paraview.org/t/contour-tree-arc-is-straight-line-and-not-smooth/10340/3 "2022-09-16T14:50:36Z")

</div>

Hello @Pravin_Poudel ,

We have added a TTK Geometry filter wich allows to smooth the arcs and automatically use a mask to keep the critical nodes to their original location, here is an example, that transform the red tree to the smoothed green one:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/5/53af8cc3744c0b9395039566533e5bcb39c29679.png)

Hopes it helps,  
Charles
