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

Function remove_edge

Infovis/BoostGraphAlgorithms/vtkBoostGraphAdapter.h:516–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516inline void remove_edge(graph_traits<vtkGraph*>::edge_descriptor e, vtkGraph* g)
517{
518 if (vtkMutableDirectedGraph::SafeDownCast(g))
519 {
520 vtkMutableDirectedGraph::SafeDownCast(g)->RemoveEdge(e.Id);
521 }
522 else if (vtkMutableUndirectedGraph::SafeDownCast(g))
523 {
524 vtkMutableUndirectedGraph::SafeDownCast(g)->RemoveEdge(e.Id);
525 }
526}
527
528//===========================================================================
529// vtkDirectedGraph

Callers 2

TestGraphFunction · 0.85

Calls 1

RemoveEdgeMethod · 0.45

Tested by 1

TestGraphFunction · 0.68