public function addConnection( $src, $dst )
    {
        $this->edges[$src][] = $dst;

        // Remove node with new incoming edge from initial leaves array
        if ( ( $id = array_search( $dst, $this->leaves ) ) !== false )
        {
            unset( $this->leaves[$id] );
        }
    }