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

Function add_edge

Infovis/BoostGraphAlgorithms/vtkBoostGraphAdapter.h:1052–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050}
1051
1052inline std::pair<boost::graph_traits<vtkMutableDirectedGraph*>::edge_descriptor, bool> add_edge(
1053 boost::graph_traits<vtkMutableDirectedGraph*>::vertex_descriptor u,
1054 boost::graph_traits<vtkMutableDirectedGraph*>::vertex_descriptor v, vtkMutableDirectedGraph* g)
1055{
1056 boost::graph_traits<vtkMutableDirectedGraph*>::edge_descriptor e = g->AddEdge(u, v);
1057 return std::make_pair(e, true);
1058}
1059
1060inline boost::graph_traits<vtkMutableUndirectedGraph*>::vertex_descriptor add_vertex(
1061 vtkMutableUndirectedGraph* g)

Callers 1

TestGraphFunction · 0.50

Calls 1

AddEdgeMethod · 0.45

Tested by 1

TestGraphFunction · 0.40