<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I tried to do that, but it said I needed to select a layout strategy.<br>
I tried to use vtkAssignCoordinatesLayoutStrategy<br>
<br>
<a href="http://www.rpi.edu/~doriad/VTK_List/GraphCoordinateAssignment/" target="_blank">http://www.rpi.edu/~doriad/VTK_List/GraphCoordinateAssignment/</a><br>
<br>
but I get the following error:<br>
vtkStreamingDemandDrivenPipeline (0x9761220): Algorithm<br>
vtkAssignCoordinates(0x975dfb0) returned failure for request:<br>
vtkInformation (0x9761e18)<br><br></blockquote><div><br></div><div>If you are setting the points directly, you don&#39;t need to use vtkGraphLayout at all. vtkAssignCoordinates is for setting the points on a graph from x, y, z arrays in the VertexData.</div>
<div><br></div><div>Jeff</div><div><br></div></div>