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

Method AddVertex

Infovis/Core/vtkMutableGraphHelper.cxx:56–70  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

54
55//------------------------------------------------------------------------------
56vtkIdType vtkMutableGraphHelper::AddVertex()
57{
58 if (!this->InternalGraph)
59 {
60 return -1;
61 }
62 if (this->DirectedGraph)
63 {
64 return this->DirectedGraph->AddVertex();
65 }
66 else
67 {
68 return this->UndirectedGraph->AddVertex();
69 }
70}
71
72//------------------------------------------------------------------------------
73vtkEdgeType vtkMutableGraphHelper::AddEdge(vtkIdType u, vtkIdType v)

Callers 15

add_vertexFunction · 0.45
bfs_tree_builderMethod · 0.45
tree_edgeMethod · 0.45
TestBoostAlgorithmsFunction · 0.45
TestBoostAdapterFunction · 0.45
BuildSampleGraphFunction · 0.45
BuildGraphMLGraphFunction · 0.45
LayoutMethod · 0.45
LayoutMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestBoostAlgorithmsFunction · 0.36
TestBoostAdapterFunction · 0.36
BuildSampleGraphFunction · 0.36
BuildGraphMLGraphFunction · 0.36
TestAssignCoordinatesFunction · 0.36
TestPruneTreeFilterFunction · 0.36