GRMERGENODES Merge two (or more) nodes in a graph.

 usage:
   [NODES2 EDGES2] = grMergeNodes(NODES, EDGES, NODE_INDS)
   NODES and EDGES are wo arrays representing a graph, and NODE_INDS is
   the set of indices of the nodes to merge.
   The nodes corresponding to indices in NODE_INDS are removed from the
   list, and edges between two nodes are removed.

   Example: merging of lables 1 and 2
   Edges:         Edges2:
   [1 2]           [1 3]
   [1 3]           [1 4]
   [1 4]           [3 4]
   [2 3]
   [3 4]
   

   -----

   author : David Legland 
   INRA - TPV URPOI - BIA IMASTE
   created the 30/06/2004.

Package: matgeom