[vtkusers] VTK Graph edge width property
aashish.chaudhary at kitware.com
Wed May 12 19:38:26 EDT 2010
I am not 100% sure on this but I think as of now its not possible without
writing your own graph actor or something.
But probably what you can do is use the edge weight array for coloring the
edges and select a vtkLookupTable with alpha ranging from 0 .0 - 1.0 (or
pick what suites your data best).
hope that helps.
On Wed, May 12, 2010 at 5:30 PM, Caleb Johnston <cjj37 at cornell.edu> wrote:
> I have a graph that I am visualizing in VTK that is quite dense. However
> most of the edge connections aren't as meaningful though I do want to be
> able to see them. The ideal solution for me for this problem is to draw the
> graph edges with variable width strokes. This variable stroke width would
> illustrate the edge strength between any two nodes. However, I cannot figure
> out how to do this. I've searched the documentation and through the example
> code. Is this possible?
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers