View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009964VTK(No Category)public2009-11-24 17:522016-08-12 09:55
ReporterDavid Doria 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0009964: vtkGraphLayoutView vertex array name
DescriptionAccording to
http://www.vtk.org/doc/nightly/html/classvtkGraphLayoutView.html#a9308e088c7bdc9a8824d7ef018754fe5 [^]

the default vertex array name is "label". However, if you name the array "label" but do not explicitly set SetVertexLabelArrayName to "label", the labels are not applied correctly (the numbers are all wrong). Looking at the default array name:

vtkstd::cout << "Vertex label name: " << GraphLayoutView->GetVertexLabelArrayName () << vtkstd::endl;

it seems to be "VertexDegree". However, if I name the array that is added to the graph with G->GetVertexData()->AddArray "VertexDegree", the labels are still applied incorrectly. If I name the array "label" and set the VertexLabelArrayName to "label" the labels are applied properly.

Here is a little demo framework:
http://www.rpi.edu/~doriad/VTK_List/GraphVertexLabels/ [^]
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0037121)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-11-24 17:52 David Doria New Issue
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037121
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team