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

Method AddGraphEdge

Infovis/Core/vtkMutableGraphHelper.cxx:90–104  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88
89//------------------------------------------------------------------------------
90vtkGraphEdge* vtkMutableGraphHelper::AddGraphEdge(vtkIdType u, vtkIdType v)
91{
92 if (!this->InternalGraph)
93 {
94 return this->GraphEdge;
95 }
96 if (this->DirectedGraph)
97 {
98 return this->DirectedGraph->AddGraphEdge(u, v);
99 }
100 else
101 {
102 return this->UndirectedGraph->AddGraphEdge(u, v);
103 }
104}
105
106//------------------------------------------------------------------------------
107void vtkMutableGraphHelper::RemoveVertex(vtkIdType v)

Callers 2

GenerateVTKGraphFunction · 0.45
LayoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected