MCPcopy Create free account
hub / github.com/Kitware/VTK / AddGraphEdge

Method AddGraphEdge

Common/DataModel/vtkMutableDirectedGraph.cxx:190–197  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

188
189//------------------------------------------------------------------------------
190vtkGraphEdge* vtkMutableDirectedGraph::AddGraphEdge(vtkIdType u, vtkIdType v)
191{
192 vtkEdgeType e = this->AddEdge(u, v);
193 this->GraphEdge->SetSource(e.Source);
194 this->GraphEdge->SetTarget(e.Target);
195 this->GraphEdge->SetId(e.Id);
196 return this->GraphEdge;
197}
198
199//------------------------------------------------------------------------------
200vtkIdType vtkMutableDirectedGraph::AddChild(vtkIdType parent, vtkVariantArray* propertyArr /* = 0*/)

Callers

nothing calls this directly

Calls 4

AddEdgeMethod · 0.95
SetSourceMethod · 0.45
SetTargetMethod · 0.45
SetIdMethod · 0.45

Tested by

no test coverage detected