src/main/java/org/thegalactic/dgraph/ConcreteDGraph.java
public boolean addEdge(final Node<N> source, final Node<N> target, final Object content) {
        if (this.containsNode(source) && this.containsNode(target)) {
            final Edge<N, E> edge = new Edge(source, target, content);
            this.successors.get(source).add(edge);
            this.predecessors.get(target).add(edge);
            return true;
        }
        return false;
    }
/**
     * Adds an edge between the specified nodes to this component: `to` is added
     * as a successor of `source`.
     *
     * If the case where specified nodes don't belongs to the node set, then the
     * edge will not be added.
     *
     * @param source  the node origin of the edge
     * @param target  the node destination of the edge
     * @param content the edge content
     *
     * @return true if the edge was successfully added
     */
Adds an edge between the specified nodes to this component: `to` is added
as a successor of `source`.

If the case where specified nodes don't belongs to the node set, then the
edge will not be added.

@param source  the node origin of the edge
@param target  the node destination of the edge
@param content the edge content

@return true if the edge was successfully added
Adds an edge between the specified nodes to this component : ` to ` is added as a successor of ` source ` . If the case where specified nodes don ' t belongs to the node set then the edge will not be added . @param source the node origin of the edge @param target the node destination of the edge @param content the edge content @return true if the edge was successfully added
public boolean addEdge(final Node<N> source, final Node<N> target, final Object content) {
        if (this.containsNode(source) && this.containsNode(target)) {
            final Edge<N, E> edge = new Edge(source, target, content);
            this.successors.get(source).add(edge);
            this.predecessors.get(target).add(edge);
            return true;
        }
        return false;
    }
public boolean addEdge ( final Node < N > source , final Node < N > target , final Object content ) { if ( this . containsNode ( source ) && this . containsNode ( target ) ) { final Edge < N , E > edge = new Edge ( source , target , content ) ; this . successors . get ( source ) . add ( edge ) ; this . predecessors . get ( target ) . add ( edge ) ; return true ; } return false ; }
Adds an edge between the specified nodes to this component: `to` is added
 as a successor of `source`.
Adds an edge between the specified nodes to this component : ` to ` is added as a successor of ` source ` .