# How to interpret the output of CellData\['Topology'\]

**URL:** https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145
**Category:** Support
**Created:** [April 24, 2020, 11:50am UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145 "2020-04-24T11:50:52Z")
**Posts on this page:** 4
**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 24, 2020, 11:50am UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145/1 "2020-04-24T11:50:52Z")

</div>

I’ve the following VTK object obtained from vmtk.NetworkExtraction

pprint(network\_dsa.CellData[‘Topology’])  
gives  
VTKArray([[0, 1],  
[0, 2],  
[0, 2],  
[0, 1],  
[0, 3],  
[0, 3],  
[0, 4],  
[0, 5],  
[0, 5],  
[1, 6],  
[4, 6],  
[1, 5],  
[2, 6],  
[3, 4]], dtype=int64)

Could someone explain how to interpret the topology information obtained above?

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 24, 2020, 3:13pm UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145/2 "2020-04-24T15:13:02Z")

</div>

This is the VTK forum, not VMTK forum. There might be VMTK users here who can answer your questions about VMTK, but if you don’t get any answer then try posting to the VMTK mailing list instead.

---

<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 24, 2020, 4:20pm UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145/3 "2020-04-24T16:20:11Z")

</div>

Thank you, I’m sorry if this is not the appropriate forum for my question. Since the output returned was a VTK Array, I considered posting here.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 24, 2020, 6:29pm UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145/4 "2020-04-24T18:29:05Z")

</div>

VTK data structures are described in detail in [VTK textbook](https://vtk.org/vtk-textbook/) (free PDF download). Search for “cell array” in it.
