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

Method AddEdge

Infovis/Core/vtkMutableGraphHelper.cxx:73–87  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

71
72//------------------------------------------------------------------------------
73vtkEdgeType vtkMutableGraphHelper::AddEdge(vtkIdType u, vtkIdType v)
74{
75 if (!this->InternalGraph)
76 {
77 return vtkEdgeType();
78 }
79 if (this->DirectedGraph)
80 {
81 return this->DirectedGraph->AddEdge(u, v);
82 }
83 else
84 {
85 return this->UndirectedGraph->AddEdge(u, v);
86 }
87}
88
89//------------------------------------------------------------------------------
90vtkGraphEdge* vtkMutableGraphHelper::AddGraphEdge(vtkIdType u, vtkIdType v)

Callers 15

AddChildEdgeMethod · 0.45
AddCrossEdgeMethod · 0.45
XdmfToVTKMethod · 0.45
AddChildEdgeToSILMethod · 0.45
AddCrossEdgeToSILMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
buildGenericGraphMethod · 0.45
buildMaxflowGraphMethod · 0.45
buildColoringGraphMethod · 0.45

Calls 1

vtkEdgeTypeClass · 0.50

Tested by 15

InitializeDataFunction · 0.36
testMethod · 0.36
TestBoostAlgorithmsFunction · 0.36
BuildSampleGraphFunction · 0.36
BuildGraphMLGraphFunction · 0.36
TestKCoreDecompositionFunction · 0.36
TestGraphAlgorithmsFunction · 0.36
TestExtractSelectedGraphFunction · 0.36