<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Is there any way to show EdgePoints (points attached to <font style="font-size: 12pt;" size="3"><font style="" face="Calibri">each edge) with vtkGraphLayoutView?<br>I would like to view the edges as a polyLine from initial vertex, follow the EdgePoints and finish in the other vertex (undirectedGraph).<br><br>I am using:<br>    vtkSmartPointer<vtkGraphLayoutView> graphLayoutView =<br>      vtkSmartPointer<vtkGraphLayoutView>::New();<br>    graphLayoutView->AddRepresentationFromInput(graph);<br>    graphLayoutView->SetLayoutStrategy("Pass Through"); <br><br>I have been testing it, and I have only managed to render edges between connected points that were set with graph->SetPoints(). Is there any API to visualize EdgePoints?<br><br>vtkGraphToPolyData uses EdgePoints to generate vtkLines, stored at CellData, but then I lose track at vtkRenderedGraphRepresentation (used by GraphLayoutView) .<br><br>The internal pipeline of vtkRenderedGraphRepresentation is a bit complex, the related bits are:<br><br>  this->GraphToPoly         = vtkSmartPointer<vtkGraphToPolyData>::New();<br> // Edge actor<br>  this->GraphToPoly->SetInputConnection(this->ApplyColors->GetOutputPort());<br>  this->EdgeMapper->SetInputConnection(this->GraphToPoly->GetOutputPort());<br>  this->EdgeActor->SetMapper(this->EdgeMapper);<br><br></font></font><div align="right"><div align="left"><font style="font-size: 12pt;" size="3"><font style="" face="Calibri">  this->EdgeMapper->SetScalarModeToUseCellFieldData();</font></font><br><font style="font-size: 12pt;" size="3"><font style="" face="Calibri">  this->EdgeMapper->SelectColorArray("vtkApplyColors color");</font></font><br><font style="font-size: 12pt;" size="3"><font style="" face="Calibri">  this->EdgeMapper->SetScalarVisibility(true);<br><br>Any suggestion? about API, or about the class that requires tweaking.<br>Thanks a lot,<br>Pablo<br></font></font></div><font style="font-size: 12pt;" size="3"><font style="" face="Calibri"><br></font></font><br></div>                                          </div></body>
</html>