Commit c98c03c0 authored by Timothy M. Shead's avatar Timothy M. Shead
Browse files

BUG: Fix a misleading bug in the filtes.py Tython example

parent 2c2504b1
......@@ -11,11 +11,13 @@ degree = vtkVertexDegree()
degree.AddInputConnection(bfs.GetOutputPort())
view = vtkGraphLayoutView()
view.AddRepresentationFromInputConnection(bfs.GetOutputPort())
view.AddRepresentationFromInputConnection(degree.GetOutputPort())
view.SetVertexLabelArrayName("BFS")
view.SetVertexLabelVisibility(True)
view.SetVertexColorArrayName("VertexDegree")
view.SetColorVertices(True)
view.SetEdgeLabelArrayName("edge_weights")
view.SetEdgeLabelVisibility(True)
view.SetEdgeColorArrayName("edge_weights")
view.SetColorEdges(True)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment