# VTK 9.1 Edge actor overlay vs VTK 8.1

**URL:** https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109
**Category:** Support
**Created:** [November 8, 2021, 2:28pm UTC](https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109 "2021-11-08T14:28:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Flagada](https://discourse.vtk.org/user_avatar/discourse.vtk.org/flagada/32/273_2.png) [@Flagada](https://discourse.vtk.org/u/Flagada)
#### Post date: [November 8, 2021, 2:28pm UTC](https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109/1 "2021-11-08T14:28:05Z")

</div>

Hi !  
I’ve tested the new 9.1.0 version and the good news is that one problem I mentioned in a previous post is well solved ([https://discourse.vtk.org/t/hidden-edges-are-visible-on-vtk-9-0-0](https://discourse.vtk.org/t/hidden-edges-are-visible-on-vtk-9-0-0)) I’m glad I can update my soft ^^!  
Unfortunately I saw another behavior that differs of the previous vtk version I was using (the 8.1.2).  
In my soft I use an actor to display edges of selected cells (edges are extracted with a vtkExtractEdges filter and outlined with a SetLineWidth = 2). As you can see on the picture below in vtk 8.1 the edges were fully visible and well overlayed but in vtk 9.1 the lines are partially masked and of course I would prefer to have the previous behavior ^^.

[VTK|690x315](https://discourse.vtk.org/uploads/short-url/nf1PpfucOKXCrNokf4z1avCHgHM.png)

Does anybody knows if there is a parameter somewhere that I could use do recover the old behavior?  
Thanks a lot!!

---

<div class="post-metadata">

### Author: ![Flagada](https://discourse.vtk.org/user_avatar/discourse.vtk.org/flagada/32/273_2.png) [@Flagada](https://discourse.vtk.org/u/Flagada)
#### Post date: [November 15, 2021, 9:58am UTC](https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109/2 "2021-11-15T09:58:00Z")

</div>

I reply to myself, it seems that the problem appears because my selection actor is in “SetRepresentationToWireframe”. And this is not mandatory because the “vtkExtractEdges” filter only produces lines in output.  
So with the previous vtk version this was not problematic but with vtk 9.1 if I remove the wireframe representation the edge overlay is way better.
