[vtkusers] Graph layout initialization?
Eric E. Monson
emonson at cs.duke.edu
Fri Jun 17 13:20:16 EDT 2011
Okay, sorry for the noise. I had a problem with my vertex positioning, and after I kept playing with the strategy parameters for a while I was able to get the desired effect.
Thanks,
-Eric
On Jun 16, 2011, at 5:11 PM, Eric E. Monson wrote:
> Hey all,
>
> Is there any way to do a graph layout where you give initial positions to the vertices rather than having the coordinates initially random, but then let the layout strategy handle things from there?
>
> I'm trying to visualize some time-varying graphs where only a few new nodes and edges show up in each new time step. For speed of layout and visual continuity I'd like to do something like a Contstrained2DLayoutStrategy where nodes that have already been present in a previous time step have a greater impedance and are initially placed where they were at the end of the last layout.
>
> It seems like any time you change the strategy or the layout input the points get re-randomized. Is there any way to assign coordinates, and then let the layout routine do it's thing from there?
>
> Thanks,
> -Eric
>
> · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
> Eric E Monson
> Duke Visualization Technology Group
>
>
>
>
> _______________________________________________
> 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
More information about the vtkusers
mailing list