Error in displaying the layout of a graph obtained from vmtkNetworkExtraction

Hi All,
I’m referring to the examples available here to display a graph .
The graph has been obtained from the following code and the input file is available here.

reader = vmtkscripts.vmtkSurfaceReader()
reader.InputFileName = 'vesseltree.stl'
reader.Execute()

networkExtraction = vmtkscripts.vmtkNetworkExtraction()
networkExtraction.Surface = reader.Surface
networkExtraction.Execute()
network = networkExtraction.Network
graph = networkExtraction.GraphLayout

graphLayoutView = vtk.vtkGraphLayoutView()
graphLayoutView.AddRepresentationFromInput(graph)
graphLayoutView.ResetCamera()
graphLayoutView.Render()

Error:

ERROR: In ..\Common\ExecutionModel\vtkExecutive.cxx, line 784
vtkCompositeDataPipeline (00000268620B50A0): Algorithm vtkGraphLayout(000002686195AA90) returned failure for request: vtkInformation (0000026861AE69E0)
  Debug: Off
  Modified Time: 121696
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0

I want to display the graph and also display the node labels and edge labels and also add edge weights .
Also, I’d like to know how to obtain the topology information of the graph i.e incidence/adjacency matrix and degree of the nodes in the nodes from VTKArray/vtkPolyData

Any suggestioons will be really helpful.

If you don’t get any answer here then please try posting to the VMTK mailing list instead.