# Creating a graph in VTK

**URL:** https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150
**Category:** Support
**Created:** [April 25, 2020, 5:09am UTC](https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150 "2020-04-25T05:09:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Deepa](https://discourse.vtk.org/user_avatar/discourse.vtk.org/deepa/32/1680_2.png) [@Deepa](https://discourse.vtk.org/u/Deepa)
#### Post date: [April 25, 2020, 5:09am UTC](https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150/1 "2020-04-25T05:09:51Z")

</div>

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.vtk.org/user_avatar/discourse.vtk.org/danlipsa/32/390_2.png) [@danlipsa](https://discourse.vtk.org/u/danlipsa)
#### Post date: [April 26, 2020, 7:07pm UTC](https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150/2 "2020-04-26T19:07:12Z")

</div>

Take a look at  
[https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/CleanPolyData/](https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/CleanPolyData/)

You can easily convert C++ to Python using

[https://github.com/Kitware/VTK/blob/master/Wrapping/Python/README.md](https://github.com/Kitware/VTK/blob/master/Wrapping/Python/README.md)
