public final void connectIfNotFound ( N n1 , E edge , N n2 ) { if ( ! isConnected ( n1 , edge , n2 ) ) { connect ( n1 , edge , n2 ) ; } }
Connects two nodes in the graph with an edge if such edge does not already exists between the nodes .