code: @Override
      public void addEdge(int from, int to, E value, boolean directed) {
          addEdge(new Edge<>(from, to, value, directed));
      }
docs: Convenience method for adding an edge (directed or undirected) to graph
  
  @param from
  @param to
  @param value
  @param directed