Change hasEdge -> hasDirectEdge and hasUndirectEdge
Add delDirectEdge