@lassoan Excellent! I am super happy to know about this new feature. Thanks a ton. I look forward to use this.
From what I understand,
CellId refers to the branchid. It will be super helpful if you could also add
4 more columns branchNode0 and branchNode1, xyz_branchNode0, xyz_branchNode1.
branchNode0 = branch.GetPointId(0) # nodeid of the one end of a branch
branchNode1 = branch.GetPointId(1) # nodeid of the other end of a branch
and xyz_branchNode0, xyz_branchNode1 are the corresponding coordinates.
I had obtained the above in the following manner (code).
for branchId in range(cleanedGraph.GetNumberOfCells()):
branch = cleanedGraph.GetCell(branchId ) # this will be a vtkLine, which only has two points
branchNode0 = branch .GetPointId(0)
branchNode1 = branch .GetPointId(1)