| 1050 | } |
| 1051 | |
| 1052 | inline 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 | |
| 1060 | inline boost::graph_traits<vtkMutableUndirectedGraph*>::vertex_descriptor add_vertex( |
| 1061 | vtkMutableUndirectedGraph* g) |