public void removeEdge(final EdgeType edge) {
    Preconditions.checkArgument(m_edges.remove(edge), "Error: Edge was not part of the graph");
    m_nodeToEdges.get(edge.getSource()).remove(edge);
    m_nodeToEdges.get(edge.getTarget()).remove(edge);
  }
Removes an edge from the graph.

@param edge The edge to remove.
java/zylib/src/main/java/com/google/security/zynamics/zylib/types/graphs/MutableDirectedGraph.java