All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 02:40, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Graphs/EdgeWeights (content was: "File:VTK_Examples_Python_Graphs_EdgeWeights.png * Contributed by Jim McCusker ==EdgeWeights.py== <source lang="python"> #!/usr/bin/env python import vtk g = vtk.vtkMutableDirectedGraph() # Create 3 vertices v1 = g.AddVertex() v2 = g.AddVertex() v3 = g.AddVertex() # Create a fully connected graph g.AddGraphEdge(v1, v2) g.AddGraphEdge(v2, v3) g.AddGraphEdge(v1, v3) # Create the edge weight array weights = vtk.vtkDoubleArray() weights.SetNumberOfComponents(1) weights.S...")