[vtkusers] VTK Graph edge width property
Aashish Chaudhary
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?
>
> thanks,
> Caleb
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100512/58bc7125/attachment.htm>
More information about the vtkusers
mailing list